From 6295b803b77bed686d01cf79d4696489ce95810a Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Sat, 26 May 2012 22:51:07 +0000 Subject: SGI fixes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/xutf8/utf8Input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xutf8/utf8Input.c') diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c index 1809e3052..ee2c229e5 100644 --- a/src/xutf8/utf8Input.c +++ b/src/xutf8/utf8Input.c @@ -62,7 +62,7 @@ XConvertEucTwToUtf8(char* buffer_return, int len) { int i = 0; #endif int l = 0; - char *buf; // , *b; + char *buf; /* , *b; */ if (len < 1) return 0; /*b = */ buf = (char*) malloc((unsigned)len); @@ -426,7 +426,7 @@ XUtf8LookupString(XIC ic, if (*keysym < 0x80) { ucs = (unsigned char)buffer_return[0]; } else { - ucs = *keysym; + ucs = (long)*keysym; } } else if (((*keysym >= 0x100 && *keysym <= 0xf000) || (*keysym & 0xff000000U) == 0x01000000)) -- cgit v1.2.3