diff options
Diffstat (limited to 'Python/getargs.c')
-rw-r--r-- | Python/getargs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 02897f34a0..1f37e41d83 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -550,10 +550,10 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf, } #ifdef HAVE_LONG_LONG - case 'L': {/* LONG_LONG */ - LONG_LONG *p = va_arg( *p_va, LONG_LONG * ); - LONG_LONG ival = PyLong_AsLongLong( arg ); - if( ival == (LONG_LONG)-1 && PyErr_Occurred() ) { + case 'L': {/* PY_LONG_LONG */ + PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * ); + PY_LONG_LONG ival = PyLong_AsLongLong( arg ); + if( ival == (PY_LONG_LONG)-1 && PyErr_Occurred() ) { return converterr("long<L>", arg, msgbuf, bufsize); } else { *p = ival; @@ -1320,9 +1320,9 @@ skipitem(char **p_format, va_list *p_va) } #ifdef HAVE_LONG_LONG - case 'L': /* LONG_LONG int */ + case 'L': /* PY_LONG_LONG int */ { - (void) va_arg(*p_va, LONG_LONG *); + (void) va_arg(*p_va, PY_LONG_LONG *); break; } #endif |