summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/ChangeLog4
-rw-r--r--runtime/map.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 4c714b01..c8941e85 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,7 @@
+2007-03-21 Martin Hunt <hunt@redhat.com>
+
+ * map.c (_stp_map_init): Fix signed vs unsigned comparison warning.
+
2007-03-20 Frank Ch. Eigler <fche@elastic.org>
PR 4224.
diff --git a/runtime/map.c b/runtime/map.c
index 5748c797..e4235901 100644
--- a/runtime/map.c
+++ b/runtime/map.c
@@ -190,7 +190,7 @@ static int _stp_map_init(MAP m, unsigned max_entries, int type, int key_size, in
return -1;
}
if (max_entries) {
- int i;
+ unsigned i;
void *tmp;
/* size is the size of the map_node. */