1 --- rpm/python/rpmmodule.c.orig 2004-11-18 15:04:50.000000000 +0100
2 +++ rpm/python/rpmmodule.c 2004-12-10 18:03:34.363140760 +0100
5 while (extensions->name) {
6 if (extensions->type == HEADER_EXT_TAG) {
7 - (const struct headerSprintfExtension *) ext = extensions;
8 + ext = (struct headerSprintfExtension_s*)(extensions);
9 PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
11 PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
12 --- rpm/python/header-py.c.orig 2004-11-18 15:04:49.000000000 +0100
13 +++ rpm/python/header-py.c 2004-12-10 18:04:45.933260448 +0100
15 while (extensions->name) {
16 if (extensions->type == HEADER_EXT_TAG
17 && !xstrcasecmp(extensions->name + 7, str)) {
18 - (const struct headerSprintfExtension *) ext = extensions;
19 + ext = (struct headerSprintfExtension*)extensions;