From fd769d621e95cdcf6f4600448c8431d27233c090 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 10 Oct 2008 00:50:56 +0100 Subject: 'int' might not be wide enough to hold any Unicode codepoint; use 'long' --- termkey.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termkey.h') 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; -- cgit v1.2.3-54-g00ecf