Previous test cases weren't completely portable: use int16_t/int32_t/int64_t instead.