diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-04-21 02:46:11 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-04-21 02:46:11 (GMT) |
commit | cf96de052f656c400ecfd8302d6507e4f586c365 (patch) | |
tree | 23d807a64949fa6c8035917a4e74b58b760b0709 /Modules/mmapmodule.c | |
parent | 9dfe4cdfa46caa3087c6c383ffa307437f4536b4 (diff) | |
download | cpython-cf96de052f656c400ecfd8302d6507e4f586c365.zip cpython-cf96de052f656c400ecfd8302d6507e4f586c365.tar.gz cpython-cf96de052f656c400ecfd8302d6507e4f586c365.tar.bz2 |
SF but #417587: compiler warnings compiling 2.1.
Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index c1cc013..c48278f 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -818,7 +818,7 @@ new_mmap_object(PyObject *self, PyObject *args, PyObject *kwdict) m_obj->data = mmap(NULL, map_size, prot, flags, fd, 0); - if (m_obj->data == (void *)-1) + if (m_obj->data == (char *)-1) { Py_DECREF(m_obj); PyErr_SetFromErrno(mmap_module_error); |