summaryrefslogtreecommitdiffstats
path: root/fish/alloc.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-21 10:50:25 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-21 10:50:25 +0100
commit6391d1a7cfa10337a75465c72d49df3c9ebc65ca (patch)
tree84072813ae8e8790cc42c02fcb71cd04e2a1bc5d /fish/alloc.c
parentfcd75e021a12fbd93c4d51fbca7844fdb4f7436f (diff)
downloadlibguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.gz
libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.xz
libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.zip
fish: Change 'int argc' to 'size_t argc' throughout.
Diffstat (limited to 'fish/alloc.c')
-rw-r--r--fish/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fish/alloc.c b/fish/alloc.c
index 0470d202..156fcc00 100644
--- a/fish/alloc.c
+++ b/fish/alloc.c
@@ -31,7 +31,7 @@
#include "fish.h"
int
-run_alloc (const char *cmd, int argc, char *argv[])
+run_alloc (const char *cmd, size_t argc, char *argv[])
{
if (argc != 2) {
fprintf (stderr, _("use 'alloc file size' to create an image\n"));
@@ -45,7 +45,7 @@ run_alloc (const char *cmd, int argc, char *argv[])
}
int
-run_sparse (const char *cmd, int argc, char *argv[])
+run_sparse (const char *cmd, size_t argc, char *argv[])
{
if (argc != 2) {
fprintf (stderr, _("use 'sparse file size' to create a sparse image\n"));