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:
Daniel Stone 2012-07-23 19:54:42 +01:00 committed by Kristian Høgsberg
parent db0add6d5e
commit 3ec40512c7
4 changed files with 16 additions and 16 deletions

View file

@ -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;