From 48aabfc6adb1b03bbc0ef308d64039a130cd8d9d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 29 Sep 2010 17:44:10 -0500 Subject: [PATCH] libCom/test/epicsStringTest: %Zd isn't portable. --- src/libCom/test/epicsStringTest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libCom/test/epicsStringTest.c b/src/libCom/test/epicsStringTest.c index ec47f02a3..ce04862e6 100644 --- a/src/libCom/test/epicsStringTest.c +++ b/src/libCom/test/epicsStringTest.c @@ -33,8 +33,8 @@ void testChars(void) { t = epicsStrnRawFromEscaped(result, sizeof(result), escaped, s); testOk(needed == s && t == 1 && result[0] == input[0] && result[1] == 0, - "escaped char 0x%2.2x -> \"%s\" (%Zd) -> 0x%2.2x", - input[0] & 0xff, escaped, needed, result[0] & 0xff); + "escaped char 0x%2.2x -> \"%s\" (%d) -> 0x%2.2x", + input[0] & 0xff, escaped, (int) needed, result[0] & 0xff); } }