diff options
Diffstat (limited to 'wcsmbs/btowc.c')
-rw-r--r-- | wcsmbs/btowc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wcsmbs/btowc.c b/wcsmbs/btowc.c index cca4645..b6a6828 100644 --- a/wcsmbs/btowc.c +++ b/wcsmbs/btowc.c @@ -43,6 +43,8 @@ __btowc (c) /* Tell where we want the result. */ data.outbuf = (char *) buf; data.outbufend = data.outbuf + sizeof (wchar_t); + data.invocation_counter = 0; + data.internal_use = 1; data.is_last = 1; data.statep = &data.__state; |