'int' might not be wide enough to hold any Unicode codepoint; use 'long'

This commit is contained in:
Paul LeoNerd Evans
2008-10-10 00:50:56 +01:00
parent 37156ad580
commit fd769d621e
4 changed files with 10 additions and 10 deletions

View File

@@ -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;
};