diff options
author | Paul Smith <psmith@gnu.org> | 2011-11-14 02:26:00 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2011-11-14 02:26:00 +0000 |
commit | 9fcd90e36cf2ae981199ea185566c71f5742a5c9 (patch) | |
tree | 40744661a128ae89e304200680fdca0d24906bbf /make.h | |
parent | 83ce81fcaa2f2c80446d96892b626b19564bdc8d (diff) | |
download | gunmake-9fcd90e36cf2ae981199ea185566c71f5742a5c9.tar.gz |
Changes to resolve warnings.
Fixes Savannah bug #34608.
Diffstat (limited to 'make.h')
-rw-r--r-- | make.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -157,8 +157,9 @@ unsigned int get_path_max (void); # define USHRT_MAX 65535 #endif -/* Nonzero if the integer type T is signed. */ -#define INTEGER_TYPE_SIGNED(t) ((t) -1 < 0) +/* Nonzero if the integer type T is signed. + Use <= to avoid GCC warnings about always-false expressions. */ +#define INTEGER_TYPE_SIGNED(t) ((t) -1 <= 0) /* The minimum and maximum values for the integer type T. Use ~ (t) 0, not -1, for portability to 1's complement hosts. */ |