py/malloc: Fix DEBUG_print() args in m_realloc_maybe.
Signed-off-by: Ihor Nehrutsa <IhorNehrutsa@gmail.com>
This commit is contained in:
parent
545b94a8f5
commit
6e79b55dc8
@ -185,7 +185,7 @@ void *m_realloc_maybe(void *ptr, size_t new_num_bytes, bool allow_move)
|
||||
#if MICROPY_MALLOC_USES_ALLOCATED_SIZE
|
||||
DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, old_num_bytes, new_num_bytes, new_ptr);
|
||||
#else
|
||||
DEBUG_printf("realloc %p, %d, %d : %p\n", ptr, new_num_bytes, new_ptr);
|
||||
DEBUG_printf("realloc %p, %d : %p\n", ptr, new_num_bytes, new_ptr);
|
||||
#endif
|
||||
return new_ptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user