diff options
author | jbj <devnull@localhost> | 2002-02-10 19:00:16 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-02-10 19:00:16 +0000 |
commit | 30b9428ce07b2fc3df44742dc58673cb1fb102ec (patch) | |
tree | fef6c7cfe3d46ea3838f44d3f15010652eec6752 /python | |
parent | 08e032599414865cb4482eb427d9a4e4caf004be (diff) | |
download | rpm-30b9428ce07b2fc3df44742dc58673cb1fb102ec.tar.gz rpm-30b9428ce07b2fc3df44742dc58673cb1fb102ec.tar.bz2 rpm-30b9428ce07b2fc3df44742dc58673cb1fb102ec.zip |
- make peace with gcc-3.1, remove compiler cruft.
CVS patchset: 5313
CVS date: 2002/02/10 19:00:16
Diffstat (limited to 'python')
-rw-r--r-- | python/rpmmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c index 1f97462ac..079e0b057 100644 --- a/python/rpmmodule.c +++ b/python/rpmmodule.c @@ -2590,7 +2590,7 @@ void initrpm(void) { while (extensions->name) { if (extensions->type == HEADER_EXT_TAG) { (const struct headerSprintfExtension *) ext = extensions; - PyDict_SetItemString(d, extensions->name, o=PyCObject_FromVoidPtr(ext, NULL)); + PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL)); Py_DECREF(o); PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7)); Py_DECREF(o); |