From d90f68166c33e85464afa193dde160ad82a0adaa Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 13 Jun 2006 14:03:44 +0200 Subject: [PATCH] rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings. --- dlls/rpcrt4/tests/rpc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index e19844b164e..36bf4ef4372 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -232,8 +232,7 @@ static void test_towers(void) /* first check we have the right amount of data */ ok(tower->tower_length == sizeof(tower_data_tcp_ip1) || tower->tower_length == sizeof(tower_data_tcp_ip2), - "Size of tower differs (expected %d or %d, actual %d)\n", - sizeof(tower_data_tcp_ip1), sizeof(tower_data_tcp_ip2), tower->tower_length); + "Wrong size of tower %d\n", tower->tower_length); /* then do a byte-by-byte comparison */ same = ((tower->tower_length == sizeof(tower_data_tcp_ip1)) && -- 2.11.4.GIT