onWritable takes size_t
This commit is contained in:
parent
f17b46f7c9
commit
5840dab93f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ struct HttpResponseWrapper {
|
|||
/* This thing perfectly fits in with unique_function, and will Reset on destructor */
|
||||
UniquePersistent<Function> p(isolate, Local<Function>::Cast(args[0]));
|
||||
|
||||
res->onWritable([p = std::move(p), isolate](int offset) -> bool {
|
||||
res->onWritable([p = std::move(p), isolate](size_t offset) -> bool {
|
||||
HandleScope hs(isolate);
|
||||
|
||||
Local<Value> argv[] = {Number::New(isolate, offset)};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue