summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-12-10 10:36:32 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-12-10 10:36:32 +0000
commitfd25634715d10d5693bcd6215f548fdd43058d41 (patch)
tree5a55a75b0adba7d3b2448ea9f20220af9d7ef0b3 /Python/modsupport.c
parent9fa9a0d635b9fee1ba7b643869cb7b70e9809716 (diff)
downloadcpython-git-fd25634715d10d5693bcd6215f548fdd43058d41.tar.gz
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0' check on an unsigned type. [*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller unsigned or signed integer type.
Diffstat (limited to 'Python/modsupport.c')
0 files changed, 0 insertions, 0 deletions