b/421827351
The TensorFlow fuzzer found an type overflow error when converting x to a long in the condition. This removes the long cast.