JSValueRef StandaloneConsole::RunLineEx(const char* line, JSValueRef *exception){
JSStringRef jsScript = JSStringCreateWithUTF8CString(line);
int size = strlen(line);
- if( size != JSStringGetLength(jsScript) ){
+ if( size != static_cast <int>(JSStringGetLength(jsScript))){
cout <<"error - fail to converting JSStringRef"<<endl;
}
JSValueRef ret = JSEvaluateScript(mGlobalContext, jsScript, NULL, NULL, 0, exception);