Use %ju to printf uint64_t's. Fixes building on i386.
--HG-- extra : convert_revision : c910dcedf00a095ebbe001cb78d7f8fa2ef19035
This commit is contained in:
parent
fa793a5044
commit
546cc0ccc1
2 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ typedef struct repository_info {
|
|||
const char *index_version;
|
||||
const char *location_local;
|
||||
const char *location_remote;
|
||||
size_t total_pkgs;
|
||||
uint64_t total_pkgs;
|
||||
} repo_info_t;
|
||||
|
||||
static const char *sanitize_localpath(const char *);
|
||||
|
@ -207,7 +207,7 @@ main(int argc, char **argv)
|
|||
exit(EINVAL);
|
||||
}
|
||||
|
||||
printf("Added repository at %s (%s) with %zu packages.\n",
|
||||
printf("Added repository at %s (%s) with %ju packages.\n",
|
||||
rinfo->location_local, rinfo->index_version,
|
||||
rinfo->total_pkgs);
|
||||
free(rinfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue