mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04: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
|
|
@ -236,7 +236,7 @@ TEST(connection_marshal)
|
|||
marshal(&data, "n", 12, &object);
|
||||
assert(data.buffer[2] == object.id);
|
||||
|
||||
marshal(&data, "n", 12, NULL);
|
||||
marshal(&data, "?n", 12, NULL);
|
||||
assert(data.buffer[2] == 0);
|
||||
|
||||
array.data = (void *) text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue