summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-18 14:46:25 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-18 14:46:25 +0100
commit3c400707525d4cb401eab1c72d82cfdf0814148f (patch)
tree8213b2e0b80d144e6a2ee5c95c7342546d0ae88b /src
parent86a7338575b2e499e2758b1b848e1a173ee27c78 (diff)
downloadapk-tools-3c400707525d4cb401eab1c72d82cfdf0814148f.tar.gz
apk-tools-3c400707525d4cb401eab1c72d82cfdf0814148f.tar.bz2
apk-tools-3c400707525d4cb401eab1c72d82cfdf0814148f.tar.xz
apk-tools-3c400707525d4cb401eab1c72d82cfdf0814148f.zip
solver: build fix for debug print on x86_64
use %zu for size_t
Diffstat (limited to 'src')
-rw-r--r--src/solver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/solver.c b/src/solver.c
index bb8d177..c12d038 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1581,7 +1581,7 @@ int apk_solver_solve(struct apk_database *db,
#endif
/* collect packages */
- dbg_printf("finished. best score "SCORE_FMT". solution has %d packages.\n",
+ dbg_printf("finished. best score "SCORE_FMT". solution has %zu packages.\n",
SCORE_PRINTF(&ss->best_score),
ss->best_solution->num);