chiark
/
gitweb
/
~mdw
/
catacomb-python
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a few minor warnings.
[catacomb-python]
/
ec.c
diff --git
a/ec.c
b/ec.c
index 2b2dba0322f05d66d8a33118abea4a7bc672782f..21aa352990ebdaaa0bfc6a23b3dc5317810d7c3b 100644
(file)
--- a/
ec.c
+++ b/
ec.c
@@
-1527,7
+1527,7
@@
static PyObject *namedcurves(void)
}
c = PyInt_FromLong(i);
found:
- PyDict_SetItemString(d, (/*unconst*/ char *)
ectab[i].name
, c);
+ PyDict_SetItemString(d, (/*unconst*/ char *)
p
, c);
Py_DECREF(c);
}
ncurves = i;