diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-13 08:23:56 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-13 08:23:56 +0000 |
commit | f76a88011a993d059beafe090a21a20be1cb9f4d (patch) | |
tree | 4fb7d5802ec2dc03912660a041a1b3166c1a8a2d /src/proto.c | |
parent | 14df5fa5d1731a502332e9d4a41f54ee3d4a4dac (diff) | |
download | libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.tar.gz libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.tar.xz libguestfs-f76a88011a993d059beafe090a21a20be1cb9f4d.zip |
Replace 'int' with 'size_t' passim.
Analyze all uses of 'int' in the code, and replace with 'size_t' where
appropriate.
Diffstat (limited to 'src/proto.c')
-rw-r--r-- | src/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto.c b/src/proto.c index 1ab8d187..c9ddaca3 100644 --- a/src/proto.c +++ b/src/proto.c @@ -241,7 +241,7 @@ static int read_log_message_or_eof (guestfs_h *g, int fd, int error_if_eof) { char buf[BUFSIZ]; - int n; + ssize_t n; #if 0 debug (g, "read_log_message_or_eof: %p g->state = %d, fd = %d", |