summaryrefslogtreecommitdiff
path: root/build/parsePrep.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/parsePrep.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/parsePrep.c')
-rw-r--r--build/parsePrep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index fa2275b35..8d7c20e71 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -241,9 +241,9 @@ static int doSetupMacro(Spec spec, char *line)
spec->buildSubdir = strdup(dirName);
} else {
headerGetEntry(spec->packages->header, RPMTAG_VERSION, NULL,
- (void *) &version, NULL);
+ (void **) &version, NULL);
headerGetEntry(spec->packages->header, RPMTAG_NAME, NULL,
- (void *) &name, NULL);
+ (void **) &name, NULL);
sprintf(buf, "%s-%s", name, version);
spec->buildSubdir = strdup(buf);
}