Commit d90f6816 authored by Alexandre Julliard's avatar Alexandre Julliard

rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.

parent 28e17a75
......@@ -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)) &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment