inline unsigned uint32_from_be(const void *bytes)
{
const unsigned char *b = (const unsigned char *)bytes;
return (b[0]<<24)|(b[1]<<16)|(b[2]<<8)|b[3];
}
bam -c
bam -c server_release
? (edited)const unsigned char *b = (const unsigned char *)bytes;
this line is actually not well, because you don't need to cast a void* and there are reasons you shouldn't!