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

[Xen-changelog] Better cast for ptr->int in residerfs module.



# 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


 


Rackspace

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