mirror of https://github.com/axmolengine/axmol.git
compilation error fix. ssize_t -> int
This commit is contained in:
parent
3c04d586b0
commit
f94221a93b
|
@ -398,9 +398,9 @@ cc_unichar_to_utf8 (unsigned int c,
|
||||||
**/
|
**/
|
||||||
char *
|
char *
|
||||||
cc_utf16_to_utf8 (const unsigned short *str,
|
cc_utf16_to_utf8 (const unsigned short *str,
|
||||||
ssize_t len,
|
int len,
|
||||||
ssize_t *items_read,
|
int *items_read,
|
||||||
ssize_t *items_written)
|
int *items_written)
|
||||||
{
|
{
|
||||||
/* This function and g_utf16_to_ucs4 are almost exactly identical - The lines that differ
|
/* This function and g_utf16_to_ucs4 are almost exactly identical - The lines that differ
|
||||||
* are marked.
|
* are marked.
|
||||||
|
|
|
@ -80,9 +80,9 @@ CC_DLL unsigned short* cc_utf8_to_utf16(const char* str_old, int length = -1, in
|
||||||
**/
|
**/
|
||||||
CC_DLL char *
|
CC_DLL char *
|
||||||
cc_utf16_to_utf8 (const unsigned short *str,
|
cc_utf16_to_utf8 (const unsigned short *str,
|
||||||
ssize_t len,
|
int len,
|
||||||
ssize_t *items_read,
|
int *items_read,
|
||||||
ssize_t *items_written);
|
int *items_written);
|
||||||
|
|
||||||
NS_CC_END
|
NS_CC_END
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue