]> granicus.if.org Git - python/commitdiff
Issue #23848: Fix usage of _Py_DumpDecimal()
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 17:37:54 +0000 (18:37 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 23 Mar 2016 17:37:54 +0000 (18:37 +0100)
Modules/faulthandler.c

index 03afe0e6a3c946d10fe792af4defe84076e736f5..a990d252d1e72249d679842e45f89f41838e2361 100644 (file)
@@ -388,7 +388,7 @@ faulthandler_exc_handler(struct _EXCEPTION_POINTERS *exc_info)
     case EXCEPTION_STACK_OVERFLOW: PUTS(fd, "stack overflow"); break;
     default:
         PUTS(fd, "code ");
-        _Py_DumpDecimal(fd, code, sizeof(DWORD));
+        _Py_DumpDecimal(fd, code);
     }
     PUTS(fd, "\n\n");