mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix some warnings on HP-UX when using cc/aCC
This commit is contained in:
parent
6974a51d1a
commit
b183a25c29
4 changed files with 11 additions and 10 deletions
|
@ -404,7 +404,7 @@ test_k_code(PyObject *self)
|
|||
|
||||
PyTuple_SET_ITEM(tuple, 0, num);
|
||||
|
||||
value = -1;
|
||||
value = 0;
|
||||
if (PyArg_ParseTuple(tuple, "k:test_k_code", &value) < 0)
|
||||
return NULL;
|
||||
if (value != ULONG_MAX)
|
||||
|
@ -423,7 +423,7 @@ test_k_code(PyObject *self)
|
|||
|
||||
PyTuple_SET_ITEM(tuple, 0, num);
|
||||
|
||||
value = -1;
|
||||
value = 0;
|
||||
if (PyArg_ParseTuple(tuple, "k:test_k_code", &value) < 0)
|
||||
return NULL;
|
||||
if (value != (unsigned long)-0x42)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue