소스 검색

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

Manuel Novoa III 22 년 전
부모
커밋
cbee182dd7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)) {