]> granicus.if.org Git - libexpat/commitdiff
Expand buffer size to avoid GCC 7.x warning.
authorJoe Orton <jorton@redhat.com>
Wed, 2 Aug 2017 07:49:20 +0000 (08:49 +0100)
committerJoe Orton <jorton@redhat.com>
Wed, 2 Aug 2017 07:49:20 +0000 (08:49 +0100)
expat/tests/chardata.c

index 012499bb88128186a553d871b6081e88ff094d4b..8e4e97a5f395bfe58adfd5b8bb60c3f17f1d5267 100644 (file)
@@ -78,7 +78,7 @@ CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len)
 int
 CharData_CheckString(CharData *storage, const char *expected)
 {
-    char buffer[1280];
+    char buffer[4096];
     int len;
     int count;