Pali Rohár eebcdb34d0 malloc_simple: Remove usage of unsupported %zx format string
Replace %zx by %lx and cast size_t to ulong.

U-Boot currently prints garbage debug output:
size=x, ptr=18, limit=18: 4002a000

With this change it prints correct debug data:
size=18, ptr=18, limit=2000: 4002a000

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-02-11 09:00:47 -05:00
..
2021-10-31 12:26:44 -06:00
2022-01-19 18:11:34 +01:00
2022-01-13 09:13:41 -07:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2022-01-21 14:01:35 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-04-12 17:44:55 -04:00
2021-04-20 07:31:12 -04:00
2022-01-26 23:23:17 +01:00
2022-01-21 14:01:35 -05:00