##// END OF EJS Templates
dirs: fix out-of-bounds access in Py3...
Martin von Zweigbergk -
r44290:a47ccdcc default
parent child Browse files
Show More
@@ -14,7 +14,7 b''
14 14 #include "util.h"
15 15
16 16 #ifdef IS_PY3K
17 #define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[1]
17 #define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[0]
18 18 #else
19 19 #define PYLONG_VALUE(o) PyInt_AS_LONG(o)
20 20 #endif
General Comments 0
You need to be logged in to leave comments. Login now