How do I handle a 4-byte char array as a typical int in ANSI C?
Some context:
I'm parsing a binary file, where I need to read 4-bytes unsigned integers.
I want to make sure that, no matter what platform this parser is compiled in, an "int" is always 4 bytes long.
I've read about uint32_t & friends, but I'm limited to ANSI C.
Thanks in advance.