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 /tests | |
parent | db0add6d5e23deac53c834f73d5e56180600cead (diff) |
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 'tests')
-rw-r--r-- | tests/connection-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/connection-test.c b/tests/connection-test.c index a852c17..b6bcde1 100644 --- a/tests/connection-test.c +++ b/tests/connection-test.c @@ -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; |