diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-10-21 10:50:25 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-21 10:50:25 +0100 |
commit | 6391d1a7cfa10337a75465c72d49df3c9ebc65ca (patch) | |
tree | 84072813ae8e8790cc42c02fcb71cd04e2a1bc5d /fish/rc.c | |
parent | fcd75e021a12fbd93c4d51fbca7844fdb4f7436f (diff) | |
download | libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.gz libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.tar.xz libguestfs-6391d1a7cfa10337a75465c72d49df3c9ebc65ca.zip |
fish: Change 'int argc' to 'size_t argc' throughout.
Diffstat (limited to 'fish/rc.c')
-rw-r--r-- | fish/rc.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -177,14 +177,15 @@ rc_listen (void) char sockpath[128]; pid_t pid; struct sockaddr_un addr; - int sock, s, i; + int sock, s; + size_t i; FILE *fp; XDR xdr, xdr2; guestfish_hello hello; guestfish_call call; guestfish_reply reply; char **argv; - int argc; + size_t argc; memset (&hello, 0, sizeof hello); memset (&call, 0, sizeof call); @@ -307,7 +308,7 @@ rc_listen (void) /* Remote control client. */ int -rc_remote (int pid, const char *cmd, int argc, char *argv[], +rc_remote (int pid, const char *cmd, size_t argc, char *argv[], int exit_on_error) { guestfish_hello hello; |