mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-06-01 00:22:11 +02:00
Merge pull request #400 from ryochack/fix_fbuffer_warning
Fixed an incompatible type warning
This commit is contained in:
commit
356fbcf187
@ -23,7 +23,7 @@ extern "C" {
|
|||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
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)
|
||||||
{
|
{
|
||||||
return (1 == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
|
return (1 == fwrite(buf, len, 1, (FILE *)data)) ? 0 : -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user