commit | cf96de052f656c400ecfd8302d6507e4f586c365 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sat Apr 21 02:46:11 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sat Apr 21 02:46:11 2001 +0000 |
tree | 23d807a64949fa6c8035917a4e74b58b760b0709 | |
parent | 9dfe4cdfa46caa3087c6c383ffa307437f4536b4 [diff] [blame] |
SF but #417587: compiler warnings compiling 2.1. Repaired *some* of the SGI compiler warnings Sjoerd Mullender reported.
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 @@ 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);