about summary refs log tree commit diff
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 a6841032f2..cf0ec0825c 100644
--- a/wcsmbs/btowc.c
+++ b/wcsmbs/btowc.c
@@ -62,7 +62,7 @@ __btowc (c)
 
   status = DL_CALL_FCT (__wcsmbs_gconv_fcts.towc->__fct,
 			(__wcsmbs_gconv_fcts.towc, &data, &inptr, inptr + 1,
-			 data.__outbuf, &dummy, 0, 1));
+			 NULL, &dummy, 0, 1));
   /* The conversion failed.  */
   if (status != __GCONV_OK && status != __GCONV_FULL_OUTPUT
       && status != __GCONV_EMPTY_INPUT)