* @return expanded %patch macro (NULL on error)
*/
-static char *doPatch(rpmSpec spec, int c, int strip, const char *db,
+static char *doPatch(rpmSpec spec, uint32_t c, int strip, const char *db,
int reverse, int removeEmpties, int fuzz)
{
char *fn;
}
}
if (sp == NULL) {
- rpmlog(RPMLOG_ERR, _("No patch number %d\n"), c);
+ rpmlog(RPMLOG_ERR, _("No patch number %u\n"), c);
return NULL;
}
free(arg_backup);
free(args);
- rasprintf(&buf, "echo \"Patch #%d (%s):\"\n"
+ rasprintf(&buf, "echo \"Patch #%u (%s):\"\n"
"%s\n",
c, basename(fn), patchcmd);