ec.c: Fix length type which should have been `Py_ssize_t'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 6 Apr 2020 02:34:24 +0000 (02:34 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 6 Apr 2020 02:34:24 +0000 (02:34 +0000)
ec.c

diff --git a/ec.c b/ec.c
index 361bbf5..fe5f6fb 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);