projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69f826
)
Use proper type in format
author
Jindrich Novy
<jnovy@redhat.com>
Mon, 7 Jul 2008 10:59:03 +0000
(12:59 +0200)
committer
Jindrich Novy
<jnovy@redhat.com>
Mon, 7 Jul 2008 12:50:13 +0000
(14:50 +0200)
build/parsePrep.c
patch
|
blob
|
history
diff --git
a/build/parsePrep.c
b/build/parsePrep.c
index
217bd47
..
82100cb
100644
(file)
--- 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);