diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2011-04-07 15:06:06 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2011-04-07 15:06:06 +0100 |
commit | 679a2b90210c5d0af271ffd382c6e18272001e0a (patch) | |
tree | 6184c64eb977b772454562890b0ff8ba117b767b /xen/common/unxz.c | |
parent | b972d1abef9656914f6d86aed2226264c7b06c57 (diff) | |
download | xen-679a2b90210c5d0af271ffd382c6e18272001e0a.tar.gz xen-679a2b90210c5d0af271ffd382c6e18272001e0a.tar.bz2 xen-679a2b90210c5d0af271ffd382c6e18272001e0a.zip |
xen: another unsigned comparison < 0
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/unxz.c')
-rw-r--r-- | xen/common/unxz.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/unxz.c b/xen/common/unxz.c index 97d8febf48..132168f924 100644 --- a/xen/common/unxz.c +++ b/xen/common/unxz.c @@ -216,7 +216,7 @@ STATIC int INIT unxz(unsigned char *in, unsigned int in_size, b.in_pos = 0; in_size = fill(in, XZ_IOBUF_SIZE); - if (in_size < 0) { + if ((int) in_size < 0) { /* * This isn't an optimal error code * but it probably isn't worth making |