[uClibc-cvs] uClibc/extra/locale gen_wctype.c,1.4,1.5

Manuel Novoa III mjn3 at uclibc.org
Thu Feb 5 02:38:30 UTC 2004


Update of /var/cvs/uClibc/extra/locale
In directory nail:/tmp/cvs-serv803

Modified Files:
	gen_wctype.c 
Log Message:
Allow building on 64 bit archs.  Hopefully the last cvs activity this
stuff will see other than "delete".


Index: gen_wctype.c
===================================================================
RCS file: /var/cvs/uClibc/extra/locale/gen_wctype.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gen_wctype.c	16 Sep 2003 22:22:30 -0000	1.4
+++ gen_wctype.c	5 Feb 2004 02:38:27 -0000	1.5
@@ -442,8 +442,8 @@
 			}
 			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)) {




More information about the uClibc-cvs mailing list