Index: source/test/intltest/rbbitst.cpp |
diff --git a/source/test/intltest/rbbitst.cpp b/source/test/intltest/rbbitst.cpp |
index 2fb52604f9bec26ee630de56da46d5cc51b93d9d..59bc16e8ad02ff9de1247db2ae108ab2402107a7 100644 |
--- a/source/test/intltest/rbbitst.cpp |
+++ b/source/test/intltest/rbbitst.cpp |
@@ -1,6 +1,6 @@ |
/******************************************************************** |
* COPYRIGHT: |
- * Copyright (c) 1999-2015, International Business Machines Corporation and |
+ * Copyright (c) 1999-2016, International Business Machines Corporation and |
* others. All Rights Reserved. |
********************************************************************/ |
/************************************************************************ |
@@ -3967,7 +3967,7 @@ void RBBITest::TestSentBreaks(void) |
return; |
} |
for (loop = 0; loop < (int)(sizeof(strlist) / sizeof(char *)); loop ++) { |
- u_unescape(strlist[loop], str, (int32_t)(sizeof(str) / sizeof(str[0]))); |
+ u_unescape(strlist[loop], str, UPRV_LENGTHOF(str)); |
UnicodeString ustr(str); |
RBBISentMonkey monkey; |