From ff23d0a2cf9d9b9fac3e2818fd1f067e79ab70a1 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Mon, 7 Jul 2008 12:59:03 +0200 Subject: [PATCH] Use proper type in format --- build/parsePrep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/parsePrep.c b/build/parsePrep.c index 217bd47..82100cb 100644 --- a/build/parsePrep.c +++ b/build/parsePrep.c @@ -431,7 +431,7 @@ static rpmRC doPatchMacro(rpmSpec spec, const char *line) if (! strchr(" \t\n", line[6])) { rasprintf(&buf, "%%patch -P %s", line + 6); } else { - rasprintf(&buf, "%%patch -P %lu %s", INT_MAX, line + 6); /* INT_MAX denotes not numbered %patch */ + rasprintf(&buf, "%%patch -P %d %s", INT_MAX, line + 6); /* INT_MAX denotes not numbered %patch */ } poptParseArgvString(buf, &argc, &argv); free(buf); -- 2.7.4