mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
add mi_cdecl to functions to avoid errors when compiling with a different calling convention, see PR #592
This commit is contained in:
parent
698bb2cae7
commit
c4663463d1
3 changed files with 8 additions and 8 deletions
|
@ -267,7 +267,7 @@ static void mi_buffered_flush(buffered_t* buf) {
|
|||
buf->used = 0;
|
||||
}
|
||||
|
||||
static void mi_buffered_out(const char* msg, void* arg) {
|
||||
static void mi_cdecl mi_buffered_out(const char* msg, void* arg) {
|
||||
buffered_t* buf = (buffered_t*)arg;
|
||||
if (msg==NULL || buf==NULL) return;
|
||||
for (const char* src = msg; *src != 0; src++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue