Quellcode durchsuchen

Allow building on 64 bit archs. Hopefully the last cvs activity this
stuff will see other than "delete".

Manuel Novoa III vor 22 Jahren
Ursprung
Commit
cbee182dd7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      extra/locale/gen_wctype.c

+ 2 - 2
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)) {