[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: another unsigned comparison < 0



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

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Acked-by: Keir Fraser <keir@xxxxxxx>
---


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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.