mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
fix warnings on latest macOS
This commit is contained in:
parent
6d18559014
commit
9535726528
2 changed files with 5 additions and 5 deletions
|
@ -240,7 +240,7 @@ void mi_register_output(mi_output_fun* out, void* arg) mi_attr_noexcept {
|
|||
}
|
||||
|
||||
// add stderr to the delayed output after the module is loaded
|
||||
static void mi_add_stderr_output() {
|
||||
static void mi_add_stderr_output(void) {
|
||||
mi_assert_internal(mi_out_default == NULL);
|
||||
mi_out_buf_flush(&mi_out_stderr, false, NULL); // flush current contents to stderr
|
||||
mi_out_default = &mi_out_buf_stderr; // and add stderr to the delayed output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue