summaryrefslogtreecommitdiffstats
path: root/Modules/_localemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-04 22:53:56 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-04 22:53:56 (GMT)
commitbcc207484a0f8f27a684e11194e7430c0710f66d (patch)
tree506ce2d793a619a92e78faa89032878ea4a43461 /Modules/_localemodule.c
parent1a8791e0b875df8e9428c2d9969f64e5967ac0b4 (diff)
downloadcpython-bcc207484a0f8f27a684e11194e7430c0710f66d.zip
cpython-bcc207484a0f8f27a684e11194e7430c0710f66d.tar.gz
cpython-bcc207484a0f8f27a684e11194e7430c0710f66d.tar.bz2
Changes for BeOS, QNX and long long, by Chris Herborth.
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r--Modules/_localemodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c
index 1b4aa9d..2f7a42b 100644
--- a/Modules/_localemodule.c
+++ b/Modules/_localemodule.c
@@ -92,7 +92,7 @@ fixup_ulcase()
if (isupper(c))
ul[n++] = c;
}
- ulo=PyString_FromStringAndSize((char *)ul,n);
+ ulo=PyString_FromStringAndSize((const char *)ul,n);
if(!ulo)return;
if(string)
PyDict_SetItemString(string,"uppercase",ulo);
@@ -105,7 +105,7 @@ fixup_ulcase()
if (islower(c))
ul[n++] = c;
}
- ulo=PyString_FromStringAndSize((char *)ul,n);
+ ulo=PyString_FromStringAndSize((const char *)ul,n);
if(!ulo)return;
if(string)
PyDict_SetItemString(string,"lowercase",ulo);
@@ -118,7 +118,7 @@ fixup_ulcase()
if (isalpha(c))
ul[n++] = c;
}
- ulo=PyString_FromStringAndSize((char *)ul,n);
+ ulo=PyString_FromStringAndSize((const char *)ul,n);
if(!ulo)return;
if(string)
PyDict_SetItemString(string,"letters",ulo);