Use PyLong_FromLongLong to convert 64-bit ints in SWIG code.
On some platforms (namely Windows), a long is 32 bits, not 64. This is what was causing random_ops_test to fail on Winodws. PiperOrigin-RevId: 201427591
Loading
Please sign in to comment