git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbcbfa
)
Fix comparison between signed and unsigned (for RHEL 5).
1.0.69
author
Richard Jones
<rjones@centos5x32.home.annexia.org>
Tue, 15 Sep 2009 08:23:49 +0000
(09:23 +0100)
committer
Richard Jones
<rjones@trick.home.annexia.org>
Tue, 15 Sep 2009 08:25:11 +0000
(09:25 +0100)
src/guestfs.c
patch
|
blob
|
history
diff --git
a/src/guestfs.c
b/src/guestfs.c
index
659ace3
..
17974fd
100644
(file)
--- 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) {