author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Sat, 3 Mar 2007 18:29:03 +0000 (18:29 +0000) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 4 Mar 2007 02:55:17 +0000 (18:55 -0800) | ||
commit | fd547a972ad1ad714e1dac0a9ffc7637a64dd9b2 | |
tree | 99a2ecf4b486a000fbb25d4ebdf9335cb0be1563 | tree | snapshot |
parent | 2832114532d92bdd533f84fa520050c5de95c012 | commit | diff |
Fix a "pointer type missmatch" warning.
In particular, the second parameter in the call to iconv() will
cause this warning if your library declares iconv() with the
second (input buffer pointer) parameter of type const char **.
This is the old prototype, which is none-the-less used by the
current version of newlib on Cygwin. (It appears in old versions
of glibc too).
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
In particular, the second parameter in the call to iconv() will
cause this warning if your library declares iconv() with the
second (input buffer pointer) parameter of type const char **.
This is the old prototype, which is none-the-less used by the
current version of newlib on Cygwin. (It appears in old versions
of glibc too).
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
utf8.c | diff | blob | history |