chiark / gitweb /
ec.c: Fix length type which should have been `Py_ssize_t'.
[catacomb-python] / ec.c
diff --git a/ec.c b/ec.c
index 361bbf5288674c07033c06460804480696c7857a..fe5f6fbc4a890e39daa1c4cf704d1b6e9cd6600c 100644 (file)
--- a/ec.c
+++ b/ec.c
@@ -443,7 +443,7 @@ static int ecptxl_1(ec_curve *c, ec *p, PyObject *x)
   PyObject *y = 0, *z = 0, *t = 0;
   mp *xx = 0;
   const void *q;
-  int n;
+  Py_ssize_t n;
   qd_parse qd;
 
   Py_XINCREF(x);