mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 00:43:32 +00:00
ICU-2194 fix compiler warnings on Solaris
X-SVN-Rev: 11367
This commit is contained in:
parent
f6d9573913
commit
2f2f6af2bc
3 changed files with 11 additions and 11 deletions
icu4c/source/test/intltest
|
@ -239,7 +239,7 @@ CLEANUP:
|
|||
|
||||
|
||||
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_toASCII(const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -386,7 +386,7 @@ CLEANUP:
|
|||
}
|
||||
|
||||
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_toUnicode(const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -606,7 +606,7 @@ getNextSeparator(UChar *src,int32_t srcLength,NamePrepTransform* prep,
|
|||
}
|
||||
}
|
||||
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_IDNToASCII( const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -760,7 +760,7 @@ CLEANUP:
|
|||
return u_terminateUChars(dest, destCapacity, reqLength, status);
|
||||
}
|
||||
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -911,7 +911,7 @@ CLEANUP:
|
|||
return u_terminateUChars(dest, destCapacity, reqLength, status);
|
||||
}
|
||||
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_compare( const UChar *s1, int32_t length1,
|
||||
const UChar *s2, int32_t length2,
|
||||
int32_t options,
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
* @return Number of ASCII characters converted.
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_toASCII(const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -95,7 +95,7 @@ idnaref_toASCII(const UChar* src, int32_t srcLength,
|
|||
* @return Number of Unicode characters converted.
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_toUnicode(const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -139,7 +139,7 @@ idnaref_toUnicode(const UChar* src, int32_t srcLength,
|
|||
* @return Number of ASCII characters converted.
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_IDNToASCII( const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -179,7 +179,7 @@ idnaref_IDNToASCII( const UChar* src, int32_t srcLength,
|
|||
* @return Number of ASCII characters converted.
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
|
||||
UChar* dest, int32_t destCapacity,
|
||||
int32_t options,
|
||||
|
@ -214,7 +214,7 @@ idnaref_IDNToUnicode( const UChar* src, int32_t srcLength,
|
|||
* @return <0 or 0 or >0 as usual for string comparisons
|
||||
* @draft ICU 2.6
|
||||
*/
|
||||
int32_t
|
||||
U_CFUNC int32_t
|
||||
idnaref_compare( const UChar *s1, int32_t length1,
|
||||
const UChar *s2, int32_t length2,
|
||||
int32_t options,
|
||||
|
|
|
@ -67,7 +67,7 @@ static char encode_basic(punycode_uint bcp, int flag)
|
|||
/*** Platform-specific constants ***/
|
||||
|
||||
/* maxint is the maximum value of a punycode_uint variable: */
|
||||
static const punycode_uint maxint = -1;
|
||||
static const punycode_uint maxint = (punycode_uint) (-1);
|
||||
/* Because maxint is unsigned, -1 becomes the maximum value. */
|
||||
|
||||
/*** Bias adaptation function ***/
|
||||
|
|
Loading…
Add table
Reference in a new issue