From d911d40079c84d3d253ad34e6f70bc117d1db77b Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Fri, 14 Jul 2000 01:33:02 +0000 Subject: [PATCH] ICU-311 for the new callback api, ucnv_getXCallBack() need to return both the function pointer and the context X-SVN-Rev: 1874 --- icu4c/source/test/cintltst/ccapitst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/test/cintltst/ccapitst.c b/icu4c/source/test/cintltst/ccapitst.c index fe94bf5cf1..2431b18cf3 100644 --- a/icu4c/source/test/cintltst/ccapitst.c +++ b/icu4c/source/test/cintltst/ccapitst.c @@ -687,7 +687,7 @@ void TestConvert() log_verbose("To UCallBack ok\n"); log_verbose("\n---Testing setTo UCallBack Roundtrip...\n"); - ucnv_setToUCallBack(myConverter,MIA2, NULL, &oldToUAction, &oldToUContext, &err); + ucnv_setToUCallBack(myConverter,MIA2, MIA2Context, &oldToUAction, &oldToUContext, &err); if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM) { log_err("FAILURE! %s\n", myErrorName(err)); }