summaryrefslogtreecommitdiff
path: root/lib/misc.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-24 22:28:31 +0000
committerjbj <devnull@localhost>2000-02-24 22:28:31 +0000
commit466f98a9fb5d0609afa370462e415d4fdead07c9 (patch)
treeaad1646fcc771512ec2206b7d00378d9b0d5c4b7 /lib/misc.c
parentfc45026a9e1bd32ef8dec83f2e3bdac3262820b8 (diff)
downloadlibrpm-tizen-466f98a9fb5d0609afa370462e415d4fdead07c9.tar.gz
librpm-tizen-466f98a9fb5d0609afa370462e415d4fdead07c9.tar.bz2
librpm-tizen-466f98a9fb5d0609afa370462e415d4fdead07c9.zip
Automake portability diddles.
CVS patchset: 3586 CVS date: 2000/02/24 22:28:31
Diffstat (limited to 'lib/misc.c')
-rw-r--r--lib/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/misc.c b/lib/misc.c
index fdbcab6de..4afbfcaaf 100644
--- a/lib/misc.c
+++ b/lib/misc.c
@@ -800,7 +800,7 @@ int rpmHeaderGetEntry(Header h, int_32 tag, int_32 *type,
/* XXX FIXME: memory leak. */
msgstr = headerSprintf(h, fmt, rpmTagTable, rpmHeaderFormats, &errstr);
if (msgstr) {
- *p = msgstr;
+ *p = (void *) msgstr;
if (type) *type = RPM_STRING_TYPE;
if (c) *c = 1;
return 1;