Submitter | phabricator |
---|---|
Date | Dec. 11, 2019, 11:54 a.m. |
Message ID | <d71e5809741d716b21dcf60b20cb549e@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/43705/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/cext/dirs.c b/mercurial/cext/dirs.c --- a/mercurial/cext/dirs.c +++ b/mercurial/cext/dirs.c @@ -14,7 +14,7 @@ #include "util.h" #ifdef IS_PY3K -#define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[1] +#define PYLONG_VALUE(o) ((PyLongObject *)o)->ob_digit[0] #else #define PYLONG_VALUE(o) PyInt_AS_LONG(o) #endif