about summary refs log tree commit diff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 43d5d9e4a9..58f381295f 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -502,15 +502,13 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 			  if (FROM_DIRECTION)
 			    /* Run the conversion loop.  */
 			    nstatus = FROM_LOOP (step, data, inptrp, inend,
-						 &outbuf,
-						 (unsigned char *) outerr,
+						 &outbuf, outerr,
 						 lirreversiblep
 						 EXTRA_LOOP_ARGS);
 			  else
 			    /* Run the conversion loop.  */
 			    nstatus = TO_LOOP (step, data, inptrp, inend,
-					       &outbuf,
-					       (unsigned char *) outerr,
+					       &outbuf, outerr,
 					       lirreversiblep
 					       EXTRA_LOOP_ARGS);
 			}
@@ -524,15 +522,14 @@ FUNCTION_NAME (struct __gconv_step *step, struct __gconv_step_data *data,
 			    nstatus = GEN_unaligned (FROM_LOOP) (step, data,
 								 inptrp, inend,
 								 &outbuf,
-								 (unsigned char *) outerr,
+								 outerr,
 								 lirreversiblep
 								 EXTRA_LOOP_ARGS);
 			  else
 			    /* Run the conversion loop.  */
 			    nstatus = GEN_unaligned (TO_LOOP) (step, data,
 							       inptrp, inend,
-							       &outbuf,
-							       (unsigned char *) outerr,
+							       &outbuf, outerr,
 							       lirreversiblep
 							       EXTRA_LOOP_ARGS);
 			}