Skip to content

Commit 33b3276

Browse files
vstinnerpicnixz
andauthored
Update Python/hamt.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent 14c22c3 commit 33b3276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/hamt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,7 @@ hamt_node_bitmap_dump(PyHamtNode_Bitmap *node,
11761176
}
11771177

11781178
if (key_or_null == NULL) {
1179-
if (PyUnicodeWriter_WriteASCII(writer, "NULL:\n", -1) < 0) {
1179+
if (PyUnicodeWriter_WriteASCII(writer, "NULL:\n", 6) < 0) {
11801180
goto error;
11811181
}
11821182

0 commit comments

Comments
 (0)