mirror of https://github.com/axmolengine/axmol.git
Windows runtime response uncorrect
This commit is contained in:
parent
3fae476cd2
commit
718b5a3cf8
|
@ -1032,7 +1032,7 @@ public:
|
|||
dReplyParse.Accept(writer);
|
||||
string msgContent = buffer.GetString();
|
||||
char msgLength[64] = {0x1, 0};
|
||||
sprintf(msgLength + 1, "%zu:", msgContent.size());
|
||||
sprintf(msgLength + 1, "%d:", msgContent.size());
|
||||
|
||||
string msg(msgLength + msgContent);
|
||||
|
||||
|
|
Loading…
Reference in New Issue