build: upgrade msgpack-c #1900

closes #1899
closes #1967

refs https://github.com/msgpack/msgpack-c/pull/194
This commit is contained in:
Michael Reed
2015-01-27 21:37:11 -05:00
committed by Justin M. Keyes
parent b0b9a33e62
commit ec5e94518e
2 changed files with 5 additions and 5 deletions

View File

@@ -86,8 +86,8 @@ bool msgpack_rpc_to_integer(msgpack_object *obj, Integer *arg)
bool msgpack_rpc_to_float(msgpack_object *obj, Float *arg) bool msgpack_rpc_to_float(msgpack_object *obj, Float *arg)
FUNC_ATTR_NONNULL_ALL FUNC_ATTR_NONNULL_ALL
{ {
*arg = obj->via.dec; *arg = obj->via.f64;
return obj->type == MSGPACK_OBJECT_DOUBLE; return obj->type == MSGPACK_OBJECT_FLOAT;
} }
bool msgpack_rpc_to_string(msgpack_object *obj, String *arg) bool msgpack_rpc_to_string(msgpack_object *obj, String *arg)
@@ -120,7 +120,7 @@ bool msgpack_rpc_to_object(msgpack_object *obj, Object *arg)
arg->type = kObjectTypeInteger; arg->type = kObjectTypeInteger;
return msgpack_rpc_to_integer(obj, &arg->data.integer); return msgpack_rpc_to_integer(obj, &arg->data.integer);
case MSGPACK_OBJECT_DOUBLE: case MSGPACK_OBJECT_FLOAT:
arg->type = kObjectTypeFloat; arg->type = kObjectTypeFloat;
return msgpack_rpc_to_float(obj, &arg->data.floating); return msgpack_rpc_to_float(obj, &arg->data.floating);

View File

@@ -52,8 +52,8 @@ include(ExternalProject)
set(LIBUV_URL https://github.com/libuv/libuv/archive/v1.2.0.tar.gz) set(LIBUV_URL https://github.com/libuv/libuv/archive/v1.2.0.tar.gz)
set(LIBUV_SHA1 38d1ba349fcfc1b221140523ba3d7cf3ea38c20b) set(LIBUV_SHA1 38d1ba349fcfc1b221140523ba3d7cf3ea38c20b)
set(MSGPACK_URL https://github.com/msgpack/msgpack-c/archive/ecf4b09acd29746829b6a02939db91dfdec635b4.tar.gz) set(MSGPACK_URL https://github.com/msgpack/msgpack-c/archive/b4eba4ba090e8cd6d8332410e252296a62b7e56d.tar.gz)
set(MSGPACK_SHA1 c160ff99f20d9d0a25bea0a57f4452f1c9bde370) set(MSGPACK_SHA1 768e60e3936cd0d0e4f1d58ca86a78eeb895931b)
set(LUAJIT_URL http://luajit.org/download/LuaJIT-2.0.3.tar.gz) set(LUAJIT_URL http://luajit.org/download/LuaJIT-2.0.3.tar.gz)
set(LUAJIT_SHA1 2db39e7d1264918c2266b0436c313fbd12da4ceb) set(LUAJIT_SHA1 2db39e7d1264918c2266b0436c313fbd12da4ceb)