cgpt show: do not cast unsigned 64bit longs to signed 32bit ints Where casting is needed cast from 32 to 64bit, the other way around will print nonsense for disks larger than 2 TB. :(