diff options
author | Carl Worth <cworth@cworth.org> | 2006-07-28 16:59:54 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-07-28 22:50:06 -0700 |
commit | eb9caf083353f3430f786da717b6c56b13f82ecb (patch) | |
tree | b82d3eb24a81f234286e8715fb8c68bebc939aad /src/cairo-hash.c | |
parent | 5e0f46cdebb5e086b344cc09b4537982a07e45cd (diff) | |
download | cairo-eb9caf083353f3430f786da717b6c56b13f82ecb.tar.gz |
Add -Wsign-compare compiler flag and fix all warnings
Diffstat (limited to 'src/cairo-hash.c')
-rw-r--r-- | src/cairo-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-hash.c b/src/cairo-hash.c index a9909a264..948cd232f 100644 --- a/src/cairo-hash.c +++ b/src/cairo-hash.c @@ -115,7 +115,7 @@ static const cairo_hash_table_arrangement_t hash_table_arrangements [] = { { 268435456, 590559793, 590559791 } }; -#define NUM_HASH_TABLE_ARRANGEMENTS (sizeof(hash_table_arrangements)/sizeof(hash_table_arrangements[0])) +#define NUM_HASH_TABLE_ARRANGEMENTS ((int)(sizeof(hash_table_arrangements)/sizeof(hash_table_arrangements[0]))) struct _cairo_hash_table { cairo_hash_keys_equal_func_t keys_equal; |