summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/uelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/uelement.h')
-rw-r--r--thirdparty/icu4c/common/uelement.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/uelement.h b/thirdparty/icu4c/common/uelement.h
index 88dd4d66fb..2c5a2043e1 100644
--- a/thirdparty/icu4c/common/uelement.h
+++ b/thirdparty/icu4c/common/uelement.h
@@ -54,9 +54,12 @@ typedef UBool U_CALLCONV UElementsAreEqual(const UElement e1, const UElement e2)
* An element sorting (three-way) comparison function.
* @param e1 An element (object or integer)
* @param e2 An element (object or integer)
- * @return 0 if the two elements are equal, -1 if e1 is < e2, or +1 if e1 is > e2.
+ * @return 32-bit signed integer comparison result:
+ * ==0 if the two elements are equal,
+ * <0 if e1 is < e2, or
+ * >0 if e1 is > e2.
*/
-typedef int8_t U_CALLCONV UElementComparator(UElement e1, UElement e2);
+typedef int32_t U_CALLCONV UElementComparator(UElement e1, UElement e2);
/**
* An element assignment function. It may copy an integer, copy