diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2007-10-21 10:47:22 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-10-21 10:47:22 +0000 |
commit | b5edaa2ca150f3204cc1e3448502e02a97ecc105 (patch) | |
tree | 822ac66df5a65312ce5355fcd7960c575d22ab38 /gcc/system.h | |
parent | d375fd5e624cae69a5ee67519b645cc062f6ae8b (diff) | |
download | gcc-b5edaa2ca150f3204cc1e3448502e02a97ecc105.zip gcc-b5edaa2ca150f3204cc1e3448502e02a97ecc105.tar.gz gcc-b5edaa2ca150f3204cc1e3448502e02a97ecc105.tar.bz2 |
system.h (IN_RANGE): Cast each argument individually.
gcc/
* system.h (IN_RANGE): Cast each argument individually.
From-SVN: r129531
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h index 1696b9c..65f2737 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -253,7 +253,8 @@ extern int errno; UPPER. However the bounds themselves can be either positive or negative. */ #define IN_RANGE(VALUE, LOWER, UPPER) \ - ((unsigned HOST_WIDE_INT)((VALUE) - (LOWER)) <= ((UPPER) - (LOWER))) + ((unsigned HOST_WIDE_INT) (VALUE) - (unsigned HOST_WIDE_INT) (LOWER) \ + <= (unsigned HOST_WIDE_INT) (UPPER) - (unsigned HOST_WIDE_INT) (LOWER)) /* Infrastructure for defining missing _MAX and _MIN macros. Note that macros defined with these cannot be used in #if. */ |