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:
frsyuki
2009-02-15 09:09:57 +00:00
parent a0a798d79e
commit 1278eb3c63
17 changed files with 85 additions and 71 deletions

View File

@@ -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;