diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/build.c | 2 | ||||
-rw-r--r-- | build/pack.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/build.c b/build/build.c index 120ef42d6..9399b2b02 100644 --- a/build/build.c +++ b/build/build.c @@ -51,7 +51,7 @@ rpmRC doScript(rpmSpec spec, rpmBuildFlags what, const char *name, StringBuf sb, { const char * rootURL = spec->rootURL; const char * rootDir; - const char *scriptName = NULL; + char *scriptName = NULL; char * buildDirURL = rpmGenPath(rootURL, "%{_builddir}", ""); const char * buildScript; char * buildCmd = NULL; diff --git a/build/pack.c b/build/pack.c index 30871378d..ed7d0cbc1 100644 --- a/build/pack.c +++ b/build/pack.c @@ -347,7 +347,7 @@ rpmRC writeRPM(Header *hdrp, unsigned char ** pkgidp, const char *fileName, FD_t fd = NULL; FD_t ifd = NULL; int32_t count, sigtag; - const char * sigtarget = NULL;; + char * sigtarget = NULL;; char * rpmio_flags = NULL; const char * SHA1 = NULL; char *s; |