News for hackers. Stuff that matters.
Re:Ways to get screwed by C by wladimir on Friday December 10, 2010 @08:35AM (#1991562)
Yes, making any assumption on the basic types in C is very dangerous for portability. That's why you should use typedef'd typed such as uint8_t and friends (defined in stdint.h in C99, but easy to roll your own) instead of 'char'. (except in cases where you don't care about the signedness or memory size)

There are no comments on this comment yet.