Re: I/O functions
Posted: Fri May 10, 2013 9:43 am
And after sparse checking:gusc wrote:I know that I'm jumping late in to the printf game, but I wanted to share my tiny writef implementation https://github.com/gusc/mbr2gpt/blob/ma ... rnel/lib.c
https://github.com/gusc/mbr2gpt/blob/ma ... /lib.c#L72 - see, it seems that you have type mismatch, uint64 seems to be the type of return value instead of uint32.
Checking your code with at least `gcc -W -Wall' seems to be a good idea.