From: Manuel Novoa III Date: Thu, 5 Feb 2004 02:38:27 +0000 (-0000) Subject: Allow building on 64 bit archs. Hopefully the last cvs activity this X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cbee182dd719e8234275d02bf06a631847078f49;p=uclinux-h8%2Fuclibc-ng.git Allow building on 64 bit archs. Hopefully the last cvs activity this stuff will see other than "delete". --- diff --git a/extra/locale/gen_wctype.c b/extra/locale/gen_wctype.c index 6a90b92c7..ab5c5dd78 100644 --- a/extra/locale/gen_wctype.c +++ b/extra/locale/gen_wctype.c @@ -442,8 +442,8 @@ int main(int argc, char **argv) } wct[c/2] |= d; - l = towlower(c) - c; - u = towupper(c) - c; + l = (long)(int) towlower(c) - c; + u = (long)(int) towupper(c) - c; ult[c] = 0; if (l || u) { if ((l != (short)l) || (u != (short)u)) {