Fix for 64-bit segfault

This commit is contained in:
Brian C Sparks 2014-06-12 14:20:58 -07:00
parent 171f5bc3a6
commit 5e2abee688

View file

@ -277,7 +277,7 @@ class NodeCurl
static v8::Handle<v8::Value> getinfo_int(const v8::Arguments & args) static v8::Handle<v8::Value> getinfo_int(const v8::Arguments & args)
{ {
return getinfo<int, v8::Integer>(args); return getinfo<long, v8::Integer>(args);
} }
static v8::Handle<v8::Value> getinfo_str(const v8::Arguments & args) static v8::Handle<v8::Value> getinfo_str(const v8::Arguments & args)