|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] 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,
--
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# 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
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
diff -r 36a841785e3b -r c61657668511
tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
--- a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c Thu Nov 19
11:31:44 2009 +0900
+++ b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c Fri Nov 20
14:38:23 2009 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Remus: fix a warning,
KUWAMURA Shin'ya <=
|
|
|
|
|