summaryrefslogtreecommitdiff
path: root/libihash
diff options
context:
space:
mode:
authorBob Ham <u9rah@dcs.shef.ac.uk>2012-06-30 23:12:38 -0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-06-30 23:12:38 -0300
commit258db5e309ca6da3aa8c25aca0473eba8f5e63af (patch)
treeaccd0ebba63b52488ba2c45c8c20ac7d205db758 /libihash
parent9b111445721d56695fbbc9b2b2418c2f92269c39 (diff)
Address gcc warning
* ihash.c (ihash_add): Change type of i to unsigned int to address gcc warning.
Diffstat (limited to 'libihash')
-rw-r--r--libihash/ihash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libihash/ihash.c b/libihash/ihash.c
index 05d53ced..fe9eaedf 100644
--- a/libihash/ihash.c
+++ b/libihash/ihash.c
@@ -349,7 +349,7 @@ hurd_ihash_add (hurd_ihash_t ht, hurd_ihash_key_t key, hurd_ihash_value_t item)
{
struct hurd_ihash old_ht = *ht;
int was_added;
- int i;
+ unsigned int i;
if (ht->size)
{