Skip to content
Snippets Groups Projects
Commit 2e21f3f2 authored by rswindell's avatar rswindell
Browse files

More typecasts to make gcc happy.

parent db74ab72
No related branches found
No related tags found
No related merge requests found
......@@ -626,7 +626,7 @@ js_recvline(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
}
if(argc>1)
JS_ValueToInt32(cx,argv[1],&timeout);
JS_ValueToInt32(cx,argv[1],(int32*)&timeout);
start=time(NULL);
for(i=0;i<len;) {
......@@ -722,7 +722,7 @@ js_setsockopt(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval
static JSBool
js_ioctlsocket(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
long cmd;
int32 cmd;
ulong arg=0;
private_t* p;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment