Permalink
Browse files

fix windows run and unix compilation

  • Loading branch information...
1 parent 6b4c80c commit e62615de8071090e15a5d9864ac4e83899dbf3ea @rashfael rashfael committed Aug 28, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 deps/msgpack/msgpack/pack_template.h
  2. +1 −0 src/msgpack.cc
@@ -743,7 +743,7 @@ msgpack_pack_inline_func(_raw)(msgpack_pack_user x, size_t l)
msgpack_pack_inline_func(_raw_body)(msgpack_pack_user x, const void* b, size_t l)
{
- msgpack_pack_append_buffer(x, (const unsigned char*)b, static_cast<unsigned int>(l));
+ msgpack_pack_append_buffer(x, (const unsigned char*)b, (unsigned int)(l));
}
#undef msgpack_pack_inline_func
View
@@ -357,4 +357,5 @@ init(Handle<Object> target) {
);
}
+NODE_MODULE(msgpackBinding, init);
// vim:ts=4 sw=4 et

0 comments on commit e62615d

Please sign in to comment.