diff options
| author | Daniel Stone <daniel@fooishbar.org> | 2012-07-23 19:54:42 +0100 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-07-23 20:17:10 -0400 |
| commit | 3ec40512c7e43c5e5a223a9d33e4737a0782916a (patch) | |
| tree | a3a6638742215336f1889a2205c0abeeee0bd3bc /src/connection.c | |
| parent | Make NEW_IDs nullable (diff) | |
| download | wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar.gz wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar.bz2 wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar.lz wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar.xz wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.tar.zst wayland-3ec40512c7e43c5e5a223a9d33e4737a0782916a.zip | |
More consistent ID printing
Use unsigned rather than signed for IDs, so they match up with what we
see in other prints.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/connection.c')
| -rw-r--r-- | src/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.c b/src/connection.c index 4ba7f63..2733ac9 100644 --- a/src/connection.c +++ b/src/connection.c @@ -738,7 +738,7 @@ wl_connection_demarshal(struct wl_connection *connection, * destroyed client side */ *object = NULL; } else if (*object == NULL && *p != 0) { - printf("unknown object (%d), message %s(%s)\n", + printf("unknown object (%u), message %s(%s)\n", *p, message->name, message->signature); *object = NULL; errno = EINVAL; @@ -747,7 +747,7 @@ wl_connection_demarshal(struct wl_connection *connection, if (*object != NULL && message->types[i-2] != NULL && (*object)->interface != message->types[i-2]) { - printf("invalid object (%d), type (%s), " + printf("invalid object (%u), type (%s), " "message %s(%s)\n", *p, (*object)->interface->name, message->name, message->signature); |
