libCom/test/epicsStringTest: %Zd isn't portable.

This commit is contained in:
Andrew Johnson
2010-09-29 17:44:10 -05:00
parent eaaea901e0
commit 48aabfc6ad

View File

@@ -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);
}
}