summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/inspect_vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/inspect_vm.c b/examples/inspect_vm.c
index 327a5662..6c45aac1 100644
--- a/examples/inspect_vm.c
+++ b/examples/inspect_vm.c
@@ -11,10 +11,10 @@ compare_keys_len (const void *p1, const void *p2)
return strlen (key1) - strlen (key2);
}
-static int
+static size_t
count_strings (char *const *argv)
{
- int c;
+ size_t c;
for (c = 0; argv[c]; ++c)
;