summaryrefslogtreecommitdiffstats
path: root/Modules/faulthandler.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-23 17:37:54 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-23 17:37:54 (GMT)
commit82d44f0598a38034174dae4416c315d2c3926456 (patch)
tree64cb576043fe579c874ad5532aa724ecf8e215c0 /Modules/faulthandler.c
parentf963c135979838893772619e83f94db97c536048 (diff)
downloadcpython-82d44f0598a38034174dae4416c315d2c3926456.zip
cpython-82d44f0598a38034174dae4416c315d2c3926456.tar.gz
cpython-82d44f0598a38034174dae4416c315d2c3926456.tar.bz2
Issue #23848: Fix usage of _Py_DumpDecimal()
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r--Modules/faulthandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index 03afe0e..a990d25 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -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");