Patch for tst-iconv1.c

Andreas Jaeger aj@suse.de
Mon May 22 02:01:00 GMT 2000


The appended patch fixes this new compiler warning:
tst-iconv1.c:37: warning: passing arg 2 of `iconv' from incompatible pointer type

I've commited the patch already.

Andreas

2000-05-22  Andreas Jaeger  <aj@suse.de>

	* iconv/tst-iconv1.c (main): Remove const from inbuf to follow
	change in iconv.h.

============================================================
Index: iconv/tst-iconv1.c
--- iconv/tst-iconv1.c	2000/05/07 21:56:53	1.1
+++ iconv/tst-iconv1.c	2000/05/22 07:54:01
@@ -10,7 +10,7 @@
   char utf8[5];
   wchar_t ucs4[5];
   iconv_t cd;
-  const char *inbuf;
+  char *inbuf;
   char *outbuf;
   size_t inbytes;
   size_t outbytes;

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de


More information about the Libc-hacker mailing list