diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-10 00:50:56 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-10 00:50:56 +0100 |
commit | fd769d621e95cdcf6f4600448c8431d27233c090 (patch) | |
tree | a02753d022968dee94559bcd6a4e1df6bf5eb8de /termkey.h | |
parent | 37156ad580a07413383d3ca5d95f19ea1bc1f716 (diff) | |
download | termo-fd769d621e95cdcf6f4600448c8431d27233c090.tar.gz termo-fd769d621e95cdcf6f4600448c8431d27233c090.tar.xz termo-fd769d621e95cdcf6f4600448c8431d27233c090.zip |
'int' might not be wide enough to hold any Unicode codepoint; use 'long'
Diffstat (limited to 'termkey.h')
-rw-r--r-- | termkey.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ typedef int termkey_keysym; typedef struct { termkey_type type; union { - int codepoint; // TERMKEY_TYPE_UNICODE + long codepoint; // TERMKEY_TYPE_UNICODE int number; // TERMKEY_TYPE_FUNCTION termkey_keysym sym; // TERMKEY_TYPE_KEYSYM } code; |