Skip to content

Commit 6f8c4da

Browse files
committed
Revert part of 3cb3e224b692 in code that I maintain.
1 parent 8c200cc commit 6f8c4da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_testbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PyObject *Struct = NULL;
1313
PyObject *calcsize = NULL;
1414

1515
/* cache simple format string */
16-
static const char simple_fmt[] = "B";
16+
static const char *simple_fmt = "B";
1717
PyObject *simple_format = NULL;
1818
#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
1919
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)

0 commit comments

Comments
 (0)