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-internal.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-internal.h')
-rw-r--r-- | termkey-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey-internal.h b/termkey-internal.h index fd865cd..774cb53 100644 --- a/termkey-internal.h +++ b/termkey-internal.h @@ -48,7 +48,7 @@ struct termkey { // want exported as real symbols in the library struct { void (*eat_bytes)(termkey_t *tk, size_t count); - void (*emit_codepoint)(termkey_t *tk, int codepoint, termkey_key *key); + void (*emit_codepoint)(termkey_t *tk, long codepoint, termkey_key *key); termkey_result (*getkey_simple)(termkey_t *tk, termkey_key *key); } method; }; |