| 1 | Description: Patch silences GCC warnings for overflow on implicit constant |
| 2 | conversions. |
| 3 | Author: FreeBSD BLT maintainers |
| 4 | Last-Modified: Tue, 08 Jul 2014 12:19:13 +0400 |
| 5 | |
| 6 | --- a/generic/bltHash.h.in |
| 7 | +++ b/generic/bltHash.h.in |
| 8 | @@ -88,7 +88,7 @@ |
| 9 | * Acceptable key types for hash tables: |
| 10 | */ |
| 11 | #define BLT_STRING_KEYS 0 |
| 12 | -#define BLT_ONE_WORD_KEYS ((size_t)-1) |
| 13 | +#define BLT_ONE_WORD_KEYS -1 |
| 14 | |
| 15 | /* |
| 16 | * Forward declaration of Blt_HashTable. Needed by some C++ compilers |