aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.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-internal.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-internal.h')
-rw-r--r--termkey-internal.h2
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;
};