summaryrefslogtreecommitdiffstats
path: root/runtime/map.c
diff options
context:
space:
mode:
authorhunt <hunt>2007-03-21 14:00:00 +0000
committerhunt <hunt>2007-03-21 14:00:00 +0000
commitee8d9a0d5b784bc02d07ff587d71b1f9d4557635 (patch)
tree036b1bff5c53aa0e6209736885c0c8e3401be649 /runtime/map.c
parent840489846051292305b56243feba9807ba06039e (diff)
downloadsystemtap-steved-ee8d9a0d5b784bc02d07ff587d71b1f9d4557635.tar.gz
systemtap-steved-ee8d9a0d5b784bc02d07ff587d71b1f9d4557635.tar.xz
systemtap-steved-ee8d9a0d5b784bc02d07ff587d71b1f9d4557635.zip
2007-03-21 Martin Hunt <hunt@redhat.com>
* map.c (_stp_map_init): Fix signed vs unsigned comparison warning.
Diffstat (limited to 'runtime/map.c')
-rw-r--r--runtime/map.c2
1 files changed, 1 insertions, 1 deletions
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. */