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

ec.c

diff --git a/ec.c b/ec.c
index a660eb66691752cfd006f3da122c51b802050fad..9034c5e2159382fc190eb2ca2b48876ed213dc84 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);