Module: wine Branch: refs/heads/master Commit: d90f68166c33e85464afa193dde160ad82a0adaa URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d90f68166c33e85464afa193...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 13 14:03:44 2006 +0200
rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
---
dlls/rpcrt4/tests/rpc.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index e19844b..36bf4ef 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)) &&