From 8a43198882fa1abf8387e79849092083cb01d827 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Tue, 22 Oct 2019 11:27:49 +0100 Subject: [PATCH] buffer.c: Handle curve object as `PyObject *'. I've not checked, but I think this is the only place where a pre- existing curve object was handled as `PyTypeObject *'. --- buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer.c b/buffer.c index 245ce8f..f615858 100644 --- a/buffer.c +++ b/buffer.c @@ -184,7 +184,7 @@ end: static PyObject *rbmeth_getecptraw(PyObject *me, PyObject *arg) { - PyTypeObject *cobj; + PyObject *cobj; ec pt = EC_INIT; if (!PyArg_ParseTuple(arg, "O!:getecptraw", eccurve_pytype, &cobj)) goto end; -- 2.11.0