diff options
author | Richard Jones <rjones@centos5x32.home.annexia.org> | 2009-09-15 09:23:49 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-09-15 09:25:11 +0100 |
commit | bf2f52e9c6f787d3b040083909aa9c11c54873f6 (patch) | |
tree | 4f4e2a67606189b7062a55f8eb49a633cd8462e7 /src | |
parent | acbcbfaf39592b0b9c1864740ff0b3baad053b2e (diff) | |
download | libguestfs-bf2f52e9c6f787d3b040083909aa9c11c54873f6.tar.gz libguestfs-bf2f52e9c6f787d3b040083909aa9c11c54873f6.tar.xz libguestfs-bf2f52e9c6f787d3b040083909aa9c11c54873f6.zip |
Fix comparison between signed and unsigned (for RHEL 5).1.0.69
Diffstat (limited to 'src')
-rw-r--r-- | src/guestfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guestfs.c b/src/guestfs.c index 659ace38..17974fd3 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -1799,7 +1799,7 @@ recv_from_daemon (guestfs_h *g, uint32_t *size_rtn, void **buf_rtn) */ ssize_t nr = -4; - while (nr < *size_rtn) { + while (nr < (ssize_t) *size_rtn) { rset2 = rset; int r = select (max_fd+1, &rset2, NULL, NULL, NULL); if (r == -1) { |