rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
This commit is contained in:
parent
28e17a75af
commit
d90f68166c
|
@ -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)) &&
|
||||
|
|
Loading…
Reference in New Issue