summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-02-27 20:50:52 +0000
committerjbj <devnull@localhost>2000-02-27 20:50:52 +0000
commit795a3ac5948f4942e40d9311777ccd679825413e (patch)
treed8ce601d90fac75685102830e8e941c5d412bbe0 /build
parent945d2cd8af0d5057c0a26d31c196e36a685e0572 (diff)
downloadrpm-795a3ac5948f4942e40d9311777ccd679825413e.tar.gz
Diminish solaris2.6 gcc noise.
CVS patchset: 3593 CVS date: 2000/02/27 20:50:52
Diffstat (limited to 'build')
-rw-r--r--build/parsePrep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/parsePrep.c b/build/parsePrep.c
index bd2fbd6ca..ce1d52953 100644
--- a/build/parsePrep.c
+++ b/build/parsePrep.c
@@ -106,14 +106,15 @@ static int checkOwners(const char *urlfn)
"if [ $STATUS -ne 0 ]; then\n"
" exit $STATUS\n"
"fi",
- c, basename(fn),
+ c, (const char *) basename(fn),
zipper,
fn, strip, args);
xfree(zipper);
} else {
sprintf(buf,
"echo \"Patch #%d (%s):\"\n"
- "patch -p%d %s -s < %s", c, basename(fn), strip, args, fn);
+ "patch -p%d %s -s < %s", c, (const char *) basename(fn),
+ strip, args, fn);
}
xfree(urlfn);