summaryrefslogtreecommitdiff
path: root/build/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/build.c')
-rw-r--r--build/build.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/build.c b/build/build.c
index 18ac635dc..a92541043 100644
--- a/build/build.c
+++ b/build/build.c
@@ -145,10 +145,12 @@ int doScript(Spec spec, int what, const char *name, StringBuf sb, int test)
xfd = fd;
/*@=branchstate@*/
+ /*@-type@*/ /* FIX: cast? */
if ((fp = fdGetFp(xfd)) == NULL) {
rc = RPMERR_SCRIPT;
goto exit;
}
+ /*@=type@*/
(void) urlPath(rootURL, &rootDir);
/*@-branchstate@*/