This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for tst-iconv1.c



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]