]> granicus.if.org Git - python/commit
Fix new compiler warnings. Also boost "start" from (C) int to long and
authorTim Peters <tim.peters@gmail.com>
Mon, 14 May 2001 23:19:12 +0000 (23:19 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 14 May 2001 23:19:12 +0000 (23:19 +0000)
commitd401eddf91870aa1d830ec6b5eb06affc15374a3
tree9a330a6d36c97467a200a36f9c4973be1cd04119
parent58e0a8c13015627b5cd4abff6563bef02532596c
Fix new compiler warnings.  Also boost "start" from (C) int to long and
return a (C) long:  PyArg_ParseTuple and Py_BuildValue may not let us get
at the size_t we really want, but C int is clearly too small for a 64-bit
box, and both the start parameter and the return value should work for
large mapped files even on 32-bit boxes.  The code really needs to be
rethought from scratch (not by me, though ...).
Modules/mmapmodule.c