diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-03-29 10:06:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-03-29 10:06:18 (GMT) |
commit | b9a0f9121876cbc728cbef88f16bb32b92712d2d (patch) | |
tree | 2677795fd372f25549f84764a556bee87ec66f43 /Python/getargs.c | |
parent | 043bbc7da387f613f3ce60c20063e2a29baff372 (diff) | |
download | cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.zip cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.tar.gz cpython-b9a0f9121876cbc728cbef88f16bb32b92712d2d.tar.bz2 |
Rename LONG_LONG to PY_LONG_LONG. Fixes #710285.
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 02897f3..1f37e41 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 |