We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1adf90e + 5da3c03 commit 356fbcfCopy full SHA for 356fbcf
include/msgpack/fbuffer.h
@@ -23,7 +23,7 @@ extern "C" {
23
* @{
24
*/
25
26
-static inline int msgpack_fbuffer_write(void* data, const char* buf, unsigned int len)
+static inline int msgpack_fbuffer_write(void* data, const char* buf, size_t len)
27
{
28
return (1 == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
29
}
0 commit comments