aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/btowc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/btowc.c')
-rw-r--r--wcsmbs/btowc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/btowc.c b/wcsmbs/btowc.c
index cf0ec08..14d076c 100644
--- a/wcsmbs/btowc.c
+++ b/wcsmbs/btowc.c
@@ -49,7 +49,7 @@ __btowc (c)
data.__internal_use = 1;
data.__flags = __GCONV_IS_LAST;
data.__statep = &data.__state;
- memset (&data.__trans, '\0', sizeof (struct __gconv_trans_data));
+ data.__trans = NULL;
/* Make sure we start in the initial state. */
memset (&data.__state, '\0', sizeof (mbstate_t));