While you can, I recommend you be explicit about your types.
sizeof(short) is guaranteed to be <= sizeof(int), but they are not guaranteed to be the same size. With Visual Studio at least, short holds 2 bytes, while int holds 4. Don't assume they'll be the same size.
Their sizes need only satisfy the requirement