diff --git a/QUICKSTART-C.md b/QUICKSTART-C.md index 351d5851..991d61d4 100644 --- a/QUICKSTART-C.md +++ b/QUICKSTART-C.md @@ -96,7 +96,7 @@ int main(void) { /* deserializes it. */ msgpack_unpacked msg; msgpack_unpacked_init(&msg); - bool success = msgpack_unpack_next(&msg, buffer->data, buffer->size, NULL); + msgpack_unpack_return ret = msgpack_unpack_next(&msg, buffer->data, buffer->size, NULL); /* prints the deserialized object. */ msgpack_object obj = msg.data; @@ -137,7 +137,7 @@ int main(void) { /* deserializes it. */ msgpack_unpacked msg; msgpack_unpacked_init(&msg); - bool success = msgpack_unpack_next(&msg, buffer->data, buffer->size, NULL); + msgpack_unpack_return ret = msgpack_unpack_next(&msg, buffer->data, buffer->size, NULL); /* prints the deserialized object. */ msgpack_object obj = msg.data;