I am trying to write code portable across 32 bit and 64 bit systems, and want to know the best, most portable way to ensure the variables stay the right length. For example, "int" is 4 bytes in 32 bit, but 8 in 64 bit. Should I declare as "long int" for 4 bytes and "long long int" for 8 bytes instead? I am not sure what the best practice is moving forward.