summaryrefslogtreecommitdiff
path: root/extra/locale
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-05 02:38:27 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-05 02:38:27 +0000
commitcbee182dd719e8234275d02bf06a631847078f49 (patch)
tree4b8e8827c96ce71a6af0df06439f914b6e7334a7 /extra/locale
parent154a02f52a9d23f6769e159c2af39ea68f9b9d9e (diff)
Allow building on 64 bit archs. Hopefully the last cvs activity this
stuff will see other than "delete".
Diffstat (limited to 'extra/locale')
-rw-r--r--extra/locale/gen_wctype.c4
1 files changed, 2 insertions, 2 deletions
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)) {