Skip to content

Commit dada5a8

Browse files
author
Stefan Krah
committed
Revert part of 3cb3e224b692 in code that I maintain.
1 parent 631ada8 commit dada5a8

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)