mirror of
https://github.com/msgpack/msgpack-c.git
synced 2026-01-13 02:52:42 +01:00
lang/c/msgpack: fix types
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@63 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
This commit is contained in:
@@ -31,9 +31,9 @@ struct unpacker::context {
|
||||
|
||||
~context() { }
|
||||
|
||||
int execute(const void* data, size_t len, size_t* off)
|
||||
int execute(const char* data, size_t len, size_t* off)
|
||||
{
|
||||
return msgpack_unpacker_execute(&m_ctx, (const char*)data, len, off);
|
||||
return msgpack_unpacker_execute(&m_ctx, data, len, off);
|
||||
}
|
||||
|
||||
object_class* data()
|
||||
@@ -171,7 +171,7 @@ void unpacker::reset()
|
||||
}
|
||||
|
||||
|
||||
object unpacker::unpack(const void* data, size_t len, zone& z)
|
||||
object unpacker::unpack(const char* data, size_t len, zone& z)
|
||||
{
|
||||
context ctx(&z);
|
||||
size_t off = 0;
|
||||
|
||||
Reference in New Issue
Block a user