ICU-900 Fixed some compiler warnings.

X-SVN-Rev: 6350
This commit is contained in:
George Rhoten 2001-10-19 23:14:38 +00:00
parent 53d570601b
commit 0fe0f7956a
2 changed files with 4 additions and 0 deletions

View File

@ -12,9 +12,11 @@
#include "unicode/unistr.h"
#include "cmemory.h"
U_CDECL_BEGIN
static void U_CALLCONV _deleteRule(void *rule) {
delete (U_NAMESPACE_QUALIFIER TransliterationRule *)rule;
}
U_CDECL_END
// Fill the precontext and postcontext with the patterns of the rules
// that are masking one another.

View File

@ -28,6 +28,7 @@
static uint32_t uprv_uca_processContraction(CntTable *contractions, UCAElements *element, uint32_t existingCE, UErrorCode *status);
U_CDECL_BEGIN
static int32_t prefixLookupHash(const UHashTok e) {
UCAElements *element = (UCAElements *)e.pointer;
UChar buf[256];
@ -67,6 +68,7 @@ static int8_t prefixLookupComp(const UHashTok e1, const UHashTok e2) {
static void prefixLookupDeleter(void *element) {
uprv_free(element);
}
U_CDECL_END
static void uprv_uca_reverseElement(UCAElements *el) {
uint32_t i = 0;