Fix test_strconv_utf_8_next array size

This commit is contained in:
Nigel Tao committed 2020-03-05 10:22:34 +11:00
1 parent 2178dcd4da
commit b5662b2906
1 file changed
+1 -1
+1 -1
View File
@@ -210,7 +210,7 @@ test_strconv_utf_8_next() {
// Special case the "\x00" string, which is valid UTF-8 but its strlen is
// zero, not one.
uint8_t the_nul_byte[0];
uint8_t the_nul_byte[1];
the_nul_byte[0] = '\x00';
struct {