From f1c4bc4fccc9966ace2dc89e430e935448ec3f65 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 5 Jul 2003 16:44:29 +0200 Subject: [PATCH] cppcharset.c: Use the correct return type for the fallback iconv macro. 2003-07-05 Zack Weinberg * cppcharset.c: Use the correct return type for the fallback iconv macro. From-SVN: r68974 --- gcc/ChangeLog | 7 ++++++- gcc/cppcharset.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb80f8f2d5e..dc5696652a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-07-05 Zack Weinberg + + * cppcharset.c: Use the correct return type for the fallback iconv + macro. + Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak Blame to Jan Hubicka @@ -6,7 +11,7 @@ Sat Jul 5 16:18:53 CEST 2003 Zdenek Dvorak 2003-07-05 Richard Kenner - * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use + * expr.c (expand_expr, case COMPONENT_REF): When seeing if should use bitfield operations, use STRICT_ALIGNMENT, not SLOW_UNALIGNED_ACCESS if EXPAND_CONST_ADDRESS or EXPAND_INITIALIZER. diff --git a/gcc/cppcharset.c b/gcc/cppcharset.c index 0ba7e930ab0..84187b9810e 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 -- 2.30.2