mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 08:55:11 +01:00
Fix test_strconv_utf_8_next array size
This commit is contained in:
1 parent
2178dcd4da
commit
b5662b2906
1 file changed
+1
-1
+1
-1
@@ -210,7 +210,7 @@ test_strconv_utf_8_next() {
|
|||||||
|
|
||||||
// Special case the "\x00" string, which is valid UTF-8 but its strlen is
|
// Special case the "\x00" string, which is valid UTF-8 but its strlen is
|
||||||
// zero, not one.
|
// zero, not one.
|
||||||
uint8_t the_nul_byte[0];
|
uint8_t the_nul_byte[1];
|
||||||
the_nul_byte[0] = '\x00';
|
the_nul_byte[0] = '\x00';
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
|
|||||||
Reference in new issue
Block a user