mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-13 00:17:21 +00:00
commit
f8f24c824e
@ -219,7 +219,7 @@ void ChunkFile::writeWString(const std::string &str) {
|
||||
unsigned short *text;
|
||||
size_t len = str.length();
|
||||
text = new unsigned short[len+1];
|
||||
for (int i=0; i<len; i++)
|
||||
for (size_t i=0; i<len; i++)
|
||||
text[i]=str[i];
|
||||
text[len]=0;
|
||||
writeInt(len);
|
||||
|
@ -367,7 +367,7 @@ bool initPostfixExpression(const char* infix, IExpressionFunctions* funcs, Postf
|
||||
|
||||
bool parsePostfixExpression(PostfixExpression& exp, IExpressionFunctions* funcs, uint32& dest)
|
||||
{
|
||||
int num = 0;
|
||||
size_t num = 0;
|
||||
uint32 opcode;
|
||||
std::vector<uint32> valueStack;
|
||||
unsigned int arg[5];
|
||||
|
@ -362,7 +362,7 @@ const char *u8_strchr(const char *s, uint32_t ch, int *charn)
|
||||
|
||||
const char *u8_memchr(const char *s, uint32_t ch, size_t sz, int *charn)
|
||||
{
|
||||
int i = 0, lasti=0;
|
||||
size_t i = 0, lasti=0;
|
||||
uint32_t c;
|
||||
int csz;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user