WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xen: another unsigned comparison < 0
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sat, 09 Apr 2011 09:20:22 +0100
Delivery-date: Sat, 09 Apr 2011 01:25:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xen: another unsigned comparison < 0, Xen patchbot-unstable <=