commit | d401eddf91870aa1d830ec6b5eb06affc15374a3 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon May 14 23:19:12 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon May 14 23:19:12 2001 +0000 |
tree | 9a330a6d36c97467a200a36f9c4973be1cd04119 | |
parent | 58e0a8c13015627b5cd4abff6563bef02532596c [diff] |
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 ...).