If by "not portable" you mean the size of the types, just use the appropriate size (C99 has some defined, I never bother to use them because I know what size my ints/shorts/longs are for the platform I'm developing on.)
Name:
Anonymous2012-05-26 8:23
>>23
this has to be the shittiest code I've seen in /prog/ and he goes all this way, without even taking care of endianity