Merge branch '1.2.x' into 1.3.x
authorMark Wooding <mdw@distorted.org.uk>
Mon, 6 Apr 2020 02:38:33 +0000 (02:38 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 6 Apr 2020 02:38:33 +0000 (02:38 +0000)
* 1.2.x:
  ec.c: Fix length type which should have been `Py_ssize_t'.

ec.c

diff --git a/ec.c b/ec.c
index 184dc9e..b555431 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);