From f76a88011a993d059beafe090a21a20be1cb9f4d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 13 Mar 2012 08:23:56 +0000 Subject: Replace 'int' with 'size_t' passim. Analyze all uses of 'int' in the code, and replace with 'size_t' where appropriate. --- src/proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto.c') 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", -- cgit