diff options
| author | INADA Naoki <songofacandy@gmail.com> | 2012-06-26 17:27:29 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2012-06-26 17:27:29 +0900 |
| commit | ebe4c1f4bc31bc1f47831d72819cac5a2a584604 (patch) | |
| tree | 9ad8cb9a9f114ea8603f94dd50fd1458357bd59a /msgpack/pack.h | |
| parent | 58eb7d0ce857b0ffb5e0ee4addf5ad1b3b47afa9 (diff) | |
| download | msgpack-python-ebe4c1f4bc31bc1f47831d72819cac5a2a584604.tar.gz | |
manage to compile on windows
Use C++ compiler to build.
Diffstat (limited to 'msgpack/pack.h')
| -rw-r--r-- | msgpack/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/pack.h b/msgpack/pack.h index d36b436..4c0373e 100644 --- a/msgpack/pack.h +++ b/msgpack/pack.h @@ -77,7 +77,7 @@ static inline int msgpack_pack_write(msgpack_packer* pk, const char *data, size_ if (len + l > bs) { bs = (len + l) * 2; - buf = realloc(buf, bs); + buf = (char*)realloc(buf, bs); if (!buf) return -1; } memcpy(buf + len, data, l); |
