[Spice-devel] [[spice] 6/9] Fix -Wformat

Fabiano Fidêncio fidencio at redhat.com
Mon Sep 1 06:45:39 PDT 2014


---
 server/tests/basic_event_loop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c
index c6f6698..79a4523 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -115,7 +115,7 @@ static void watch_remove(SpiceWatch *watch)
 
 static void channel_event(int event, SpiceChannelEventInfo *info)
 {
-    DPRINTF(0, "channel event con, type, id, event: %ld, %d, %d, %d",
+    DPRINTF(0, "channel event con, type, id, event: %d, %d, %d, %d",
             info->connection_id, info->type, info->id, event);
 }
 
-- 
1.9.3



More information about the Spice-devel mailing list