All these should really only be data types with known constant sizes. I'd prefer having int64_t here for that reason.