mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-28 03:13:09 +03:00
Fix type warning on Windows.
Add cast since read / write has unsigned return type on windows.
This commit is contained in:
parent
4df483f0fd
commit
d3e0976a2c
5 changed files with 44 additions and 31 deletions
|
|
@ -67,7 +67,7 @@ token_error(token_t *token) {
|
|||
token->col);
|
||||
break;
|
||||
}
|
||||
UNUSED ssize_t err = write(STDERR_FILENO,
|
||||
UNUSED ssize_t err = malloc_write_fd(STDERR_FILENO,
|
||||
&token->parser->buf[token->pos], token->len);
|
||||
malloc_printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue