Index: source/io/uprntf_p.c |
diff --git a/source/io/uprntf_p.c b/source/io/uprntf_p.c |
index 09ae6bad85793a0e35b4145eb4866b6e76a1b397..04073e71bf9b892c7738781bc75e9e4cf090c074 100644 |
--- a/source/io/uprntf_p.c |
+++ b/source/io/uprntf_p.c |
@@ -1,7 +1,7 @@ |
/* |
****************************************************************************** |
* |
-* Copyright (C) 1998-2014, International Business Machines |
+* Copyright (C) 1998-2016, International Business Machines |
* Corporation and others. All Rights Reserved. |
* |
****************************************************************************** |
@@ -143,7 +143,7 @@ u_printf_set_sign(UNumberFormat *format, |
symbolLen = unum_getSymbol(format, |
UNUM_PLUS_SIGN_SYMBOL, |
plusSymbol, |
- sizeof(plusSymbol)/sizeof(*plusSymbol), |
+ UPRV_LENGTHOF(plusSymbol), |
status); |
unum_setTextAttribute(format, |
UNUM_POSITIVE_PREFIX, |