summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2017-01-08 01:11:50 +0100
committerStefan Krah <skrah@bytereef.org>2017-01-08 01:11:50 +0100
commitf4df2ee78c8574416b9f3ef47bfde7f625e5c1cb (patch)
tree73fb626dbe59a7855ff16fe0eca6e3abb3f7d9c0 /Modules
parent45ed522237e16cf199cfd7faaa75ff3381f94b9c (diff)
parentdada5a8d7558d1a7794c4854a8e3f21a999f49b6 (diff)
downloadcpython-git-f4df2ee78c8574416b9f3ef47bfde7f625e5c1cb.tar.gz
Merge 3.6.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_testbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testbuffer.c b/Modules/_testbuffer.c
index 13d3cccfa4..43db8a8e53 100644
--- a/Modules/_testbuffer.c
+++ b/Modules/_testbuffer.c
@@ -13,7 +13,7 @@ PyObject *Struct = NULL;
PyObject *calcsize = NULL;
/* cache simple format string */
-static const char simple_fmt[] = "B";
+static const char *simple_fmt = "B";
PyObject *simple_format = NULL;
#define SIMPLE_FORMAT(fmt) (fmt == NULL || strcmp(fmt, "B") == 0)
#define FIX_FORMAT(fmt) (fmt == NULL ? "B" : fmt)