mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-900 Fix some compiler warnings.
X-SVN-Rev: 9307
This commit is contained in:
parent
b3f7a0240f
commit
2dca4f1c06
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ public:
|
|||
UVector fActualTags;
|
||||
|
||||
BITestData(UErrorCode &status);
|
||||
void addDataChunk(char *data, int32_t tag, int32_t lineNum, UErrorCode status);
|
||||
void addDataChunk(const char *data, int32_t tag, int32_t lineNum, UErrorCode status);
|
||||
void checkResults(char *heading, RBBITest *test);
|
||||
void err(char *heading, RBBITest *test, int32_t expectedIdx, int32_t actualIdx);
|
||||
void clearResults();
|
||||
|
@ -72,7 +72,7 @@ BITestData::BITestData(UErrorCode &status)
|
|||
// each non-null item is its ending position.
|
||||
//
|
||||
#define ADD_DATACHUNK(td, data, tag, status) td.addDataChunk(data, tag, __LINE__, status);
|
||||
void BITestData::addDataChunk(char *data, int32_t tag, int32_t lineNum, UErrorCode status) {
|
||||
void BITestData::addDataChunk(const char *data, int32_t tag, int32_t lineNum, UErrorCode status) {
|
||||
if (U_FAILURE(status)) {return;}
|
||||
if (data != NULL) {
|
||||
fDataToBreak.append(CharsToUnicodeString(data));
|
||||
|
|
Loading…
Add table
Reference in a new issue