(__random): Change return value type to long.