RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: rpm Date: 16-Dec-2007 19:16:57 Branch: HEAD Handle: 2007121618165700 Modified files: rpm/build parsePrep.c Log: - remove compiler warning. Summary: Revision Changes Path 2.101 +2 -2 rpm/build/parsePrep.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/build/parsePrep.c ============================================================================ $ cvs diff -u -r2.100 -r2.101 parsePrep.c --- rpm/build/parsePrep.c 12 Dec 2007 19:24:13 -0000 2.100 +++ rpm/build/parsePrep.c 16 Dec 2007 18:16:57 -0000 2.101 @@ -170,14 +170,14 @@ "if [ $STATUS -ne 0 ]; then\n" " exit $STATUS\n" "fi", - c, /[EMAIL PROTECTED]@*/ (const char *) basename(fn), /[EMAIL PROTECTED]@*/ + c, /[EMAIL PROTECTED]@*/ (const char *) basename((char *)fn), /[EMAIL PROTECTED]@*/ zipper, fn, patch, strip, args); zipper = _free(zipper); } else { sprintf(buf, "echo \"Patch #%d (%s):\"\n" - "%s -p%d %s -s < '%s'", c, (const char *) basename(fn), + "%s -p%d %s -s < '%s'", c, (const char *) basename((char *)fn), patch, strip, args, fn); } @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org