mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
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@jp.fujitsu.com>
This commit is contained in:
1 parent
558a4ade15
commit
fa249f4edc
1 file changed
+1
-1
@@ -349,7 +349,7 @@ int delete_suspend_timer(checkpoint_state* s)
|
||||
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;
|
||||
|
||||