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]
/
group.c
diff --git
a/group.c
b/group.c
index 544a8c724a79df991d1cf36cb57a0ef46f15f622..1f733a092d87f49f3f2d7fb483d3d9ed85e3acdc 100644
(file)
--- a/
group.c
+++ b/
group.c
@@
-225,7
+225,7
@@
static PyObject *namedgroups(const pentry *pp, int *ne)
}
c = PyInt_FromLong(i);
found:
- PyDict_SetItemString(d, (/*unconst*/ char *)p
p[i].name
, c);
+ PyDict_SetItemString(d, (/*unconst*/ char *)p, c);
Py_DECREF(c);
}
*ne = i;