diff options
-rw-r--r-- | src/bfstd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bfstd.c b/src/bfstd.c index a71e4b4..e546a47 100644 --- a/src/bfstd.c +++ b/src/bfstd.c @@ -666,8 +666,8 @@ static size_t printable_len(const char *str, size_t len, enum wesc_flags flags) } } -multibyte: mbstate_t mb; +multibyte: memset(&mb, 0, sizeof(mb)); while (i < len) { |