ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 3018
This commit is contained in:
parent
be38ff11f0
commit
25dd82417c
@ -4,7 +4,7 @@
|
|||||||
* Corporation and others. All Rights Reserved.
|
* Corporation and others. All Rights Reserved.
|
||||||
**********************************************************************
|
**********************************************************************
|
||||||
*/
|
*/
|
||||||
// $Revision: 1.17 $
|
// $Revision: 1.18 $
|
||||||
//
|
//
|
||||||
// Provides functionality for mapping between
|
// Provides functionality for mapping between
|
||||||
// LCID and Posix IDs.
|
// LCID and Posix IDs.
|
||||||
@ -719,7 +719,7 @@ ILcidPosixMap::hostID(const char* posixID) const
|
|||||||
char hostID[ULOC_FULLNAME_CAPACITY];
|
char hostID[ULOC_FULLNAME_CAPACITY];
|
||||||
char *hostPtr = hostID;
|
char *hostPtr = hostID;
|
||||||
uint32_t value;
|
uint32_t value;
|
||||||
uint32_t hostLen = strlen(posixID);
|
int32_t hostLen = (int32_t)(strlen(posixID));
|
||||||
int32_t size, hostSize;
|
int32_t size, hostSize;
|
||||||
|
|
||||||
// Check for incomplete id. All LCIDs have a default country,
|
// Check for incomplete id. All LCIDs have a default country,
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
* Modification History:
|
* Modification History:
|
||||||
*
|
*
|
||||||
* Date Name Description
|
* Date Name Description
|
||||||
* 05/25/99 stephen Creation.
|
* 05/25/99 stephen Creation.
|
||||||
*******************************************************************************
|
*******************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -41,13 +41,8 @@ U_CDECL_END
|
|||||||
#include "unicode/uloc.h"
|
#include "unicode/uloc.h"
|
||||||
|
|
||||||
/* Protos */
|
/* Protos */
|
||||||
static void usage(void);
|
|
||||||
static void version(void);
|
|
||||||
static void processFile(const char *filename, const char* cp, const char *inputDir, const char *outputDir, UErrorCode *status);
|
static void processFile(const char *filename, const char* cp, const char *inputDir, const char *outputDir, UErrorCode *status);
|
||||||
static char* make_res_filename(const char *filename, const char *outputDir, UErrorCode *status);
|
static char* make_res_filename(const char *filename, const char *outputDir, UErrorCode *status);
|
||||||
static char* make_col_filename(const char *filename, const char *outputDir, UErrorCode *status);
|
|
||||||
static void make_col(const char *filename, UErrorCode *status);
|
|
||||||
int main(int argc, char **argv);
|
|
||||||
|
|
||||||
/* File suffixes */
|
/* File suffixes */
|
||||||
#define RES_SUFFIX ".res"
|
#define RES_SUFFIX ".res"
|
||||||
@ -343,7 +338,7 @@ make_res_filename(const char *filename,
|
|||||||
static char*
|
static char*
|
||||||
make_col_filename(const char *filename,
|
make_col_filename(const char *filename,
|
||||||
const char *outputDir,
|
const char *outputDir,
|
||||||
UErrorCode *status)
|
UErrorCode *status)
|
||||||
{
|
{
|
||||||
char *basename;
|
char *basename;
|
||||||
char *dirname;
|
char *dirname;
|
||||||
|
Loading…
Reference in New Issue
Block a user