summaryrefslogtreecommitdiff
path: root/gcc/ginclude
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ginclude')
-rw-r--r--gcc/ginclude/va-h8300.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ginclude/va-h8300.h b/gcc/ginclude/va-h8300.h
index 986e827f64d..25276586101 100644
--- a/gcc/ginclude/va-h8300.h
+++ b/gcc/ginclude/va-h8300.h
@@ -44,9 +44,9 @@ typedef void *__gnuc_va_list;
#define va_arg(AP, TYPE) \
(AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \
- *((TYPE *) (void *) ((char *) (AP) - ((sizeof (TYPE) < 4 \
- ? sizeof (TYPE) \
- : __va_rounded_size (TYPE))))))
+ *((TYPE *) (void *) ((char *) (AP) \
+ - ((sizeof (TYPE) < __va_rounded_size (int) \
+ ? sizeof (TYPE) : __va_rounded_size (TYPE))))))
#define va_end(AP) ((void) 0)