mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
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>
This commit is contained in:
parent
db0add6d5e
commit
3ec40512c7
4 changed files with 16 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue