From 3ec40512c7e43c5e5a223a9d33e4737a0782916a Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 23 Jul 2012 19:54:42 +0100 Subject: 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 --- tests/connection-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; -- cgit v1.2.3