summaryrefslogtreecommitdiff
path: root/build/reqprov.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-04-14 12:35:08 +0000
committerjbj <devnull@localhost>1999-04-14 12:35:08 +0000
commit89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a (patch)
tree26d178260fbe1063fa858759defc76083152d8a6 /build/reqprov.c
parent9c6e100351d70b9d3724be36858baf72d6e23b72 (diff)
downloadlibrpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.tar.gz
librpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.tar.bz2
librpm-tizen-89e28f78e89e3f07cc4bbc61f5bf0d5d5ee1ad5a.zip
Make silly headerGetEntry consistent throughout.
CVS patchset: 2995 CVS date: 1999/04/14 12:35:08
Diffstat (limited to 'build/reqprov.c')
-rw-r--r--build/reqprov.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/reqprov.c b/build/reqprov.c
index fc1012f80..53d6f8dcf 100644
--- a/build/reqprov.c
+++ b/build/reqprov.c
@@ -48,15 +48,15 @@ int addReqProv(Spec spec, Header h,
version = "";
}
- if (headerGetEntry(h, nametag, NULL, (void *) &names, &len)) {
+ if (headerGetEntry(h, nametag, NULL, (void **) &names, &len)) {
if (flagtag) {
headerGetEntry(h, versiontag, NULL,
- (void *) &versions, NULL);
- headerGetEntry(h, flagtag, NULL, (void *) &flags, NULL);
+ (void **) &versions, NULL);
+ headerGetEntry(h, flagtag, NULL, (void **) &flags, NULL);
}
if (indextag) {
headerGetEntry(h, indextag, NULL,
- (void *) &indexes, NULL);
+ (void **) &indexes, NULL);
}
while (len) {
len--;