diff options
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 6521faf26b9..1f2fb2bbd09 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -120,13 +120,14 @@ extern enum machine_mode int_mode_for_mode PARAMS ((enum machine_mode)); /* Find the best mode to use to access a bit field. */ -extern enum machine_mode get_best_mode PARAMS ((int, int, int, enum machine_mode, int)); +extern enum machine_mode get_best_mode PARAMS ((int, int, unsigned int, + enum machine_mode, int)); /* Determine alignment, 1<=result<=BIGGEST_ALIGNMENT. */ #define GET_MODE_ALIGNMENT(MODE) \ - MIN (BIGGEST_ALIGNMENT, \ - MAX (1, (GET_MODE_UNIT_SIZE (MODE) * BITS_PER_UNIT))) + (unsigned int) MIN (BIGGEST_ALIGNMENT, \ + MAX (1, (GET_MODE_UNIT_SIZE (MODE) * BITS_PER_UNIT))) /* For each class, get the narrowest mode in that class. */ |