Skip to contentSkip to conversation

Remus: fix a warning

PATCH New KUWAMURA Shin'ya 1 participant 1 message Nov 20, 2009 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remus: fix a warning

Hi,

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

Best regards,

Signature · 1 line
  KUWAMURA Shin'ya

# HG changeset patch
# User KUWAMURA Shin'ya <[email protected]> # Date 1258695503 -32400
# Node ID c6165766851152fbb05c2c6ac3d0489a981813bf # Parent 36a841785e3b8b3a8b4d067049bba6db1f4e9020
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

tools/python/xen/lowlevel/checkpoint/libcheckpoint.c +1 -1
diff -r 36a841785e3b -r c61657668511 tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
@@ -349,7 +349,7 @@
   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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel