Size type changes for the posix implementation