mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-14 06:55:50 +02:00
Fix iovec-related tests
This commit is contained in:
@@ -34,8 +34,8 @@ using namespace std;
|
||||
test_type val1 = v[i]; \
|
||||
msgpack::pack(vbuf, val1); \
|
||||
msgpack::sbuffer sbuf; \
|
||||
const struct iovec* cur = vbuf.vector(); \
|
||||
const struct iovec* end = cur + vbuf.vector_size(); \
|
||||
const msgpack::iovec* cur = vbuf.vector(); \
|
||||
const msgpack::iovec* end = cur + vbuf.vector_size(); \
|
||||
for(; cur != end; ++cur) \
|
||||
sbuf.write((const char*)cur->iov_base, cur->iov_len); \
|
||||
msgpack::object_handle oh; \
|
||||
|
Reference in New Issue
Block a user