Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahparker committed Mar 2, 2017
1 parent 415abee commit 74a36e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jpeg-lum.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ void Read(const FunctionCallbackInfo<Value>& info) {
return;
}

Local<v8::String> string = String::NewFromUtf8(isolate, Local<Object>::Cast(info[0]));
Local<v8::String> string = String::NewFromUtf8(isolate, Local<String>::Cast(info[0]));
const int length = string->Utf8Length() + 1;

char *filename = new char[length];
Expand Down

0 comments on commit 74a36e4

Please sign in to comment.