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

[Xen-changelog] [xen-unstable] Remus: fix a warning



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1258960028 0
# Node ID 6aec9e80feaa1dde6d09a2b8df8c79c01d6bfbb5
# Parent  43bce9566a91662b4e489a0300e07d84159c1217
Remus: fix a warning

This patch fixes the following warning:
  xen/lowlevel/checkpoint/libcheckpoint.c: In function
  `delete_suspend_timer':
  xen/lowlevel/checkpoint/libcheckpoint.c:352: warning: assignment
  makes integer from pointer without a cast

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
---
 tools/python/xen/lowlevel/checkpoint/libcheckpoint.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 43bce9566a91 -r 6aec9e80feaa 
tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
--- a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c      Mon Nov 23 
07:06:39 2009 +0000
+++ b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c      Mon Nov 23 
07:07:08 2009 +0000
@@ -349,7 +349,7 @@ int delete_suspend_timer(checkpoint_stat
   if (s->timer) {
     if ((rc = timer_delete(s->timer)))
       fprintf(stderr, "Error deleting timer: %s\n", strerror(errno));
-    s->timer = NULL;
+    s->timer = 0;
   }
 
   return rc;

_______________________________________________
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®.