Show HN: Mini_printf – minimal, self-contained and verified printf()
github.com
github.com
https://github.com/wkoszek/mini_printf/commit/fb096cabb5dcba...
typedef unsigned int u32;
typedef unsigned long u64;
This does not look like portable code.So yeah - depending on the platform you will need to make u32/u64 point to things from your stdint.h (or whatever that is) and the code should work.
Anyway, a less theoretical bug report: Your "%d" format specifier fails to print negative numbers. :)
Why?
https://github.com/wkoszek/mini_printf/commit/1fbf606cb23f2e...