From be570f4655f536a08dbcff18ce8233fdd5fe89f1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 26 Jan 2007 13:07:05 +0100 Subject: [PATCH] snmpapi: Fix printf format warnings in tests. --- dlls/snmpapi/tests/util.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/snmpapi/tests/util.c b/dlls/snmpapi/tests/util.c index c3540fee105..160ec190bdf 100644 --- a/dlls/snmpapi/tests/util.c +++ b/dlls/snmpapi/tests/util.c @@ -83,23 +83,23 @@ static void test_SnmpUtilOidToA(void) ret = SnmpUtilOidToA(&oid2); ok(ret != NULL, "SnmpUtilOidToA failed\n"); - ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", - ret, expect2, strlen(ret)); + ok(!strcmp(ret, expect2), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n", + ret, expect2); ret = SnmpUtilOidToA(&oid3); ok(ret != NULL, "SnmpUtilOidToA failed\n"); - ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", - ret, expect3, strlen(ret)); + ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n", + ret, expect3); ret = SnmpUtilOidToA(&oid4); ok(ret != NULL, "SnmpUtilOidToA failed\n"); - ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", - ret, expect3, strlen(ret)); + ok(!strcmp(ret, expect3), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n", + ret, expect3); ret = SnmpUtilOidToA(&oid5); ok(ret != NULL, "SnmpUtilOidToA failed\n"); - ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n %d\n", - ret, expect4, strlen(ret)); + ok(!strcmp(ret, expect4), "SnmpUtilOidToA failed got \n%s\n expected \n%s\n", + ret, expect4); } static void test_SnmpUtilAsnAnyCpyFree(void)