aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppcharset.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-07-05 16:44:29 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2003-07-05 16:44:29 +0200
commitf1c4bc4fccc9966ace2dc89e430e935448ec3f65 (patch)
tree29cc9d6729748fd74b8f1d9c3e0c371c9697ef4d /gcc/cppcharset.c
parent65c6f1b45f6440d1e245aaf2a97639c7dc4314c3 (diff)
downloadgcc-f1c4bc4fccc9966ace2dc89e430e935448ec3f65.zip
gcc-f1c4bc4fccc9966ace2dc89e430e935448ec3f65.tar.gz
gcc-f1c4bc4fccc9966ace2dc89e430e935448ec3f65.tar.bz2
cppcharset.c: Use the correct return type for the fallback iconv macro.
2003-07-05 Zack Weinberg <zack@codesourcery.com> * cppcharset.c: Use the correct return type for the fallback iconv macro. From-SVN: r68974
Diffstat (limited to 'gcc/cppcharset.c')
-rw-r--r--gcc/cppcharset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppcharset.c b/gcc/cppcharset.c
index 0ba7e93..84187b9 100644
--- a/gcc/cppcharset.c
+++ b/gcc/cppcharset.c
@@ -79,7 +79,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
below, which are guarded only by if statements with compile-time
constant conditions, do not cause link errors. */
#define iconv_open(x, y) (errno = EINVAL, (iconv_t)-1)
-#define iconv(a,b,c,d,e) (errno = EINVAL, (iconv_t)-1)
+#define iconv(a,b,c,d,e) (errno = EINVAL, (size_t)-1)
#define iconv_close(x) 0
#endif