aboutsummaryrefslogtreecommitdiff
path: root/termkey.h
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-10 00:50:56 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-10-10 00:50:56 +0100
commitfd769d621e95cdcf6f4600448c8431d27233c090 (patch)
treea02753d022968dee94559bcd6a4e1df6bf5eb8de /termkey.h
parent37156ad580a07413383d3ca5d95f19ea1bc1f716 (diff)
downloadtermo-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey.h b/termkey.h
index 6be5bfa..52ebc88 100644
--- a/termkey.h
+++ b/termkey.h
@@ -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;