compilation error fix. ssize_t -> int

This commit is contained in:
James Chen 2014-01-04 22:21:14 +08:00
parent 3c04d586b0
commit f94221a93b
2 changed files with 6 additions and 6 deletions

View File

@ -398,9 +398,9 @@ cc_unichar_to_utf8 (unsigned int c,
**/
char *
cc_utf16_to_utf8 (const unsigned short *str,
ssize_t len,
ssize_t *items_read,
ssize_t *items_written)
int len,
int *items_read,
int *items_written)
{
/* This function and g_utf16_to_ucs4 are almost exactly identical - The lines that differ
* are marked.

View File

@ -80,9 +80,9 @@ CC_DLL unsigned short* cc_utf8_to_utf16(const char* str_old, int length = -1, in
**/
CC_DLL char *
cc_utf16_to_utf8 (const unsigned short *str,
ssize_t len,
ssize_t *items_read,
ssize_t *items_written);
int len,
int *items_read,
int *items_written);
NS_CC_END