Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
This should fix windows compile issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
godsflaw committed Jul 16, 2013
1 parent 212df37 commit 7a0da2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/msgpack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ v8_to_msgpack(Handle<Value> v8obj, msgpack_object *mo, msgpack_zone *mz, size_t
mo->type = MSGPACK_OBJECT_RAW;
Handle<Date> date = Handle<Date>::Cast(v8obj);
Handle<Function> func = Handle<Function>::Cast(date->Get(String::New("toISOString")));
Handle<Value> argv[0] = {};
Handle<Value> argv[1] = {};
Handle<Value> result = func->Call(date, 0, argv);
mo->via.raw.size = static_cast<uint32_t>(DecodeBytes(result, UTF8));
mo->via.raw.ptr = (char*) msgpack_zone_malloc(mz, mo->via.raw.size);
Expand Down

0 comments on commit 7a0da2f

Please sign in to comment.