diff options
Diffstat (limited to 'wcsmbs/wcsrtombs.c')
-rw-r--r-- | wcsmbs/wcsrtombs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c index 3c731aaa54..22dc76c3cb 100644 --- a/wcsmbs/wcsrtombs.c +++ b/wcsmbs/wcsrtombs.c @@ -51,7 +51,7 @@ __wcsrtombs (dst, src, len, ps) data.__internal_use = 1; data.__flags = __GCONV_IS_LAST; data.__statep = ps ?: &state; - memset (&data.__trans, '\0', sizeof (struct __gconv_trans_data)); + data.__trans = NULL; /* Make sure we use the correct function. */ update_conversion_ptrs (); |