Mailing List Archive

[xen-unstable] xen: another unsigned comparison < 0
# HG changeset patch
# User Tim Deegan <Tim.Deegan@citrix.com>
# Date 1302185166 -3600
# Node ID 8c119c5b0f95c8b1dbf5928e5fe60b38d5ea7c44
# Parent 2b66b83b19b6894995e76f4a580a510d23f1775e
xen: another unsigned comparison < 0

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
---


diff -r 2b66b83b19b6 -r 8c119c5b0f95 xen/common/unxz.c
--- a/xen/common/unxz.c Thu Apr 07 12:13:58 2011 +0100
+++ b/xen/common/unxz.c Thu Apr 07 15:06:06 2011 +0100
@@ -216,7 +216,7 @@
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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xensource.com
http://lists.xensource.com/xen-changelog