mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 5433
This commit is contained in:
parent
3e23a5f087
commit
0e79edda11
1 changed files with 2 additions and 2 deletions
|
@ -1776,8 +1776,8 @@ TestLATIN1() {
|
|||
TestNextUChar(cnv, source, limit, results, "LATIN_1");
|
||||
/* Test the condition when source >= sourceLimit */
|
||||
TestNextUCharError(cnv, source, source, U_INDEX_OUTOFBOUNDS_ERROR, "sourceLimit <= source");
|
||||
TestConv((uint16_t*)in1,sizeof(in1)/2,"LATIN_1","LATIN-1",(unsigned char*)out1,sizeof(out1));
|
||||
TestConv((uint16_t*)in2,sizeof(in2)/2,"ASCII","ASCII",(unsigned char*)out2,sizeof(out2));
|
||||
TestConv((uint16_t*)in1,sizeof(in1)/2,"LATIN_1","LATIN-1",(char*)out1,sizeof(out1));
|
||||
TestConv((uint16_t*)in2,sizeof(in2)/2,"ASCII","ASCII",(char*)out2,sizeof(out2));
|
||||
|
||||
ucnv_close(cnv);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue