Skip to content

Commit f279538

Browse files
committed
+1
1 parent ee99e65 commit f279538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_struct.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,8 @@ nu_ulonglong(_structmodulestate *state, const char *p, const formatdef *f)
497497
static PyObject *
498498
nu_bool(_structmodulestate *state, const char *p, const formatdef *f)
499499
{
500-
const _Bool f = false;
501-
return PyBool_FromLong(memcmp(p, &f, sizeof(_Bool));
500+
const _Bool _false = false;
501+
return PyBool_FromLong(memcmp(p, &_false, sizeof(_Bool));
502502
}
503503

504504

0 commit comments

Comments
 (0)