ICU-900 Fixed some compiler warnings

X-SVN-Rev: 4775
This commit is contained in:
George Rhoten 2001-05-23 20:44:42 +00:00
parent 88ac94a221
commit d6829894d8

View file

@ -368,7 +368,15 @@ static void TestErrorBehaviour(){
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
expected, sizeof(expected), "ibm-1362", 0, FALSE, U_ZERO_ERROR))
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
expected, sizeof(expected), "ibm-1362", offsets, TRUE, U_TRUNCATED_CHAR_FOUND))
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
expected, sizeof(expected), "ibm-1362", offsets, FALSE, U_ZERO_ERROR))
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
if(!convertFromU(sampleText2, sizeof(sampleText2)/sizeof(sampleText2[0]),
expected2, sizeof(expected2), "ibm-1362", 0, TRUE, U_ZERO_ERROR))
log_err("u-> ibm-1362 [UCNV_DBCS] did not match \n");