summary refs log tree commit diff
path: root/wcsmbs/mbsnrtowcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/mbsnrtowcs.c')
-rw-r--r--wcsmbs/mbsnrtowcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/mbsnrtowcs.c b/wcsmbs/mbsnrtowcs.c
index 51d9cd09f2..0410232187 100644
--- a/wcsmbs/mbsnrtowcs.c
+++ b/wcsmbs/mbsnrtowcs.c
@@ -82,7 +82,7 @@ __mbsnrtowcs (dst, src, nmc, len, ps)
 	  data.__outbuf = (unsigned char *) buf;
 
 	  status = DL_CALL_FCT (towc->__fct,
-				(towc, &data, &inbuf, srcend, data.__outbuf,
+				(towc, &data, &inbuf, srcend, NULL,
 				 &dummy, 0, 1));
 
 	  result += (wchar_t *) data.__outbuf - buf;
@@ -104,7 +104,7 @@ __mbsnrtowcs (dst, src, nmc, len, ps)
 
       status = DL_CALL_FCT (towc->__fct,
 			    (towc, &data, (const unsigned char **) src, srcend,
-			     data.__outbuf, &dummy, 0, 1));
+			     NULL, &dummy, 0, 1));
 
       result = (wchar_t *) data.__outbuf - dst;