commit | 64fd6fb25404f1da05b571aaa75929501c809916 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Aug 31 05:32:33 2007 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Aug 31 05:32:33 2007 +0000 |
tree | 19db9b3507afe50803ddda49ab0a04a80e2114a9 | |
parent | b879f57b328cd5fdad1190559c3bf5c890b47a16 [diff] |
Ugh, hopefully I can get this right. The code is only compiled on Win64
diff --git a/Python/getargs.c b/Python/getargs.c index f11649a..8608684 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -672,7 +672,7 @@ return converterr("integer<n>", arg, msgbuf, bufsize); iobj = PyNumber_Index(arg); if (iobj != NULL) - ival = PyNumber_AsSsize_t(arg); + ival = PyInt_AsSsize_t(arg); if (ival == -1 && PyErr_Occurred()) return converterr("integer<n>", arg, msgbuf, bufsize); *p = ival;