Fix amd64 MSVC warning

This commit is contained in:
Yinan Zhang
2019-10-17 16:46:45 -07:00
parent 4fbbc817c1
commit 4fe50bc7d0
4 changed files with 40 additions and 27 deletions

View File

@@ -452,7 +452,7 @@ prof_emitter_write_cb(void *opaque, const char *to_write) {
return;
}
#endif
arg->ret = write(arg->fd, (void *)to_write, bytes);
arg->ret = malloc_write_fd(arg->fd, to_write, bytes);
}
/*