From e6645400a34feb62aca0b5243123213843503ffe Mon Sep 17 00:00:00 2001 From: andyque Date: Thu, 20 Mar 2014 14:54:09 +0800 Subject: [PATCH] fix a paramers miss match --- cocos/base/CCConsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/base/CCConsole.cpp b/cocos/base/CCConsole.cpp index fc9065123b..c58b933384 100644 --- a/cocos/base/CCConsole.cpp +++ b/cocos/base/CCConsole.cpp @@ -929,7 +929,7 @@ bool Console::parseCommand(int fd) // -ssize_t Console::readline(int fd, char* ptr, int maxlen) +ssize_t Console::readline(int fd, char* ptr, size_t maxlen) { ssize_t n, rc; char c;