diff options
Diffstat (limited to 'libgcc/config/pa/fptr.c')
-rw-r--r-- | libgcc/config/pa/fptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/config/pa/fptr.c b/libgcc/config/pa/fptr.c index 3036727..e81dcab 100644 --- a/libgcc/config/pa/fptr.c +++ b/libgcc/config/pa/fptr.c @@ -45,7 +45,7 @@ static int fixup_branch_offset[NOFFSETS] = { 32, -4 }; #define GET_FIELD(X, FROM, TO) \ ((X) >> (31 - (TO)) & ((1 << ((TO) - (FROM) + 1)) - 1)) #define SIGN_EXTEND(VAL,BITS) \ - ((int) ((VAL) >> ((BITS) - 1) ? (-1 << (BITS)) | (VAL) : (VAL))) + ((int) ((VAL) >> ((BITS) - 1) ? ((unsigned)(-1) << (BITS)) | (VAL) : (VAL))) struct link_map; typedef int (*fptr_t) (void); |