diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-i386.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index d7c6b33..817539e 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -207,7 +207,8 @@ if ((n) \ goto around; \ } -#define MAX_MEM_FOR_RS_ALIGN_CODE (alignment ? ((1 << alignment) - 1) : 1) +#define MAX_MEM_FOR_RS_ALIGN_CODE \ + (alignment ? ((size_t) 1 << alignment) - 1 : (size_t) 1) extern void i386_cons_align (int); #define md_cons_align(nbytes) i386_cons_align (nbytes) |