diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:59:14 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-15 19:59:14 -0400 |
| commit | e5420471a7364a92521575e7abd3a29a9318001b (patch) | |
| tree | 6b7aaccff3d033fdc49cee41874071637fa8b68e /src/stdlib/memory.c | |
| parent | c3615dc92c667899af7a11b2b25201dad5502ee6 (diff) | |
Make some compatibility fixes to make sure the compiler can fully build
using TinyCC
Diffstat (limited to 'src/stdlib/memory.c')
| -rw-r--r-- | src/stdlib/memory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stdlib/memory.c b/src/stdlib/memory.c index 1805fb6f..ed2ded40 100644 --- a/src/stdlib/memory.c +++ b/src/stdlib/memory.c @@ -13,7 +13,8 @@ #include "types.h" #include "util.h" -public Text_t Memory$as_text(const void *p, bool colorize, const TypeInfo_t *) { +public Text_t Memory$as_text(const void *p, bool colorize, const TypeInfo_t *info) { + (void)info; if (!p) return Text("Memory"); return Text$format(colorize ? "\x1b[0;34;1mMemory<%p>\x1b[m" : "Memory<%p>", p); } |
