git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21df39f
)
examples: size_t-correctness change in inspect_vm.c
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 31 Mar 2011 19:17:02 +0000
(20:17 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 11 Apr 2011 10:05:19 +0000
(11:05 +0100)
(cherry picked from commit
d5eb5216aae0cb83fae686f490d1c3c37c2c074e
)
examples/inspect_vm.c
patch
|
blob
|
history
diff --git
a/examples/inspect_vm.c
b/examples/inspect_vm.c
index
327a566
..
6c45aac
100644
(file)
--- 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
in
t
+static
size_
t
count_strings (char *const *argv)
{
-
in
t c;
+
size_
t c;
for (c = 0; argv[c]; ++c)
;