diff options
| author | Greg Ercolano <erco@seriss.com> | 2012-05-26 22:51:07 +0000 |
|---|---|---|
| committer | Greg Ercolano <erco@seriss.com> | 2012-05-26 22:51:07 +0000 |
| commit | 6295b803b77bed686d01cf79d4696489ce95810a (patch) | |
| tree | 320a9f04e26f20f0f382017906c333bf635d2c6b /src/xutf8/utf8Input.c | |
| parent | f1210a7fd266292a0ab1b400a62c99e60628d3ff (diff) | |
SGI fixes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8/utf8Input.c')
| -rw-r--r-- | src/xutf8/utf8Input.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |
