debug: Use unsigned for object IDs
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 22 Nov 2011 19:03:33 +0000 (14:03 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 22 Nov 2011 19:04:10 +0000 (14:04 -0500)
src/connection.c

index 84f58c4..8c9a64d 100644 (file)
@@ -740,7 +740,7 @@ wl_closure_print(struct wl_closure *closure, struct wl_object *target, int send)
        clock_gettime(CLOCK_REALTIME, &tp);
        time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);
 
-       fprintf(stderr, "[%10.3f] %s%s@%d.%s(",
+       fprintf(stderr, "[%10.3f] %s%s@%u.%s(",
                time / 1000.0,
                send ? " -> " : "",
                target->interface->name, target->id,