diff --git a/icu4c/source/test/cintltst/ccapitst.c b/icu4c/source/test/cintltst/ccapitst.c index f283741bb6..4f06b57405 100644 --- a/icu4c/source/test/cintltst/ccapitst.c +++ b/icu4c/source/test/cintltst/ccapitst.c @@ -1326,7 +1326,7 @@ void bug2() target, sizeof(target), source, - strlen(source), + sizeof(source), &err); if ( size != 10 ) {