ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3526
This commit is contained in:
parent
7b52bfd043
commit
af1ac4175d
@ -26,6 +26,36 @@
|
||||
#include "ucnv_cnv.h"
|
||||
#include "cmemory.h"
|
||||
|
||||
/* Prototypes --------------------------------------------------------------- */
|
||||
|
||||
/* Keep these here to make finicky compilers happy */
|
||||
|
||||
U_CFUNC void
|
||||
_SCSUReset(UConverter *cnv, UConverterResetChoice choice);
|
||||
U_CFUNC void
|
||||
_SCSUOpen(UConverter *cnv,
|
||||
const char *name,
|
||||
const char *locale,
|
||||
uint32_t options,
|
||||
UErrorCode *pErrorCode);
|
||||
U_CFUNC void
|
||||
_SCSUClose(UConverter *cnv);
|
||||
U_CFUNC void
|
||||
_SCSUToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
|
||||
UErrorCode *pErrorCode);
|
||||
U_CFUNC UChar32
|
||||
_SCSUGetNextUChar(UConverterToUnicodeArgs *pArgs,
|
||||
UErrorCode *pErrorCode);
|
||||
U_CFUNC void
|
||||
_SCSUFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs,
|
||||
UErrorCode *pErrorCode);
|
||||
U_CFUNC const char *
|
||||
_SCSUGetName(const UConverter *cnv);
|
||||
U_CFUNC void
|
||||
_SCSUWriteSub(UConverterFromUnicodeArgs *pArgs,
|
||||
int32_t offsetIndex,
|
||||
UErrorCode *pErrorCode);
|
||||
|
||||
/* SCSU definitions --------------------------------------------------------- */
|
||||
|
||||
/* SCSU command byte values */
|
||||
@ -637,8 +667,8 @@ getWindow(const uint32_t offsets[8], uint32_t c) {
|
||||
static UBool
|
||||
isInOffsetWindowOrDirect(uint32_t offset, uint32_t c) {
|
||||
return c<=offset+0x7f &&
|
||||
(c>=offset || c<=0x7f &&
|
||||
(c>=0x20 || (1UL<<c)&0x2601));
|
||||
(c>=offset || (c<=0x7f &&
|
||||
(c>=0x20 || (1UL<<c)&0x2601)));
|
||||
/* binary 0010 0110 0000 0001,
|
||||
check for b==0xd || b==0xa || b==9 || b==0 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user