diff --git a/src/JPEGStream.h b/src/JPEGStream.h index 7b508d2..0f5b5a4 100644 --- a/src/JPEGStream.h +++ b/src/JPEGStream.h @@ -35,7 +35,7 @@ empty_closure_output_buffer(j_compress_ptr cinfo){ Local buf = NanNewBufferHandle((char *)dest->buffer, dest->bufsize); Local argv[3] = { NanNull() - , NanNew(buf) + , NanNew(buf) , NanNew(dest->bufsize) }; NanMakeCallback(NanGetCurrentContext()->Global(), dest->closure->fn, 3, argv);