diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index f11c016..cbc9f68 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -696,7 +696,7 @@ PyLong_AsLongLong(PyObject *vv) /* Plan 9 can't handle LONG_LONG in ? : expressions */ if (res < 0) - return (LONG_LONG)res; + return (LONG_LONG)-1; else return bytes; } |