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] Better cast for ptr->int in residerfs module.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Better cast for ptr->int in residerfs module.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Oct 2005 10:16:12 +0000
Delivery-date: Wed, 12 Oct 2005 10:13:48 +0000
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 43b40ae7904c6d0121e9a2e547b8d814945ca2ac
# Parent  b3a255e88810233f4a43d769c549b490a4d99725
Better cast for ptr->int in residerfs module.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r b3a255e88810 -r 43b40ae7904c tools/pygrub/src/fsys/reiser/reisermodule.c
--- a/tools/pygrub/src/fsys/reiser/reisermodule.c       Wed Oct 12 10:07:37 2005
+++ b/tools/pygrub/src/fsys/reiser/reisermodule.c       Wed Oct 12 10:13:00 2005
@@ -46,7 +46,7 @@
 
        if (!dal) return;
 
-       close((size_t)dal->dev);
+       close((int)(unsigned long)dal->dev);
        dal_free(dal);
 }
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Better cast for ptr->int in residerfs module., Xen patchbot -unstable <=