summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-24 03:39:16 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-24 03:39:16 (EST)
commitaad40a35308e11d442144022822a5766dbe3496a (patch)
tree52b4aed9b06745acde0e579fe3c19c781876210c
parentbf29bd974b428e00d7f614b082125f922c808486 (diff)
Fix warning on 64bit arches.
git-svn-id: http://opkg.googlecode.com/svn/trunk@365 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--libopkg/hash_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopkg/hash_table.c b/libopkg/hash_table.c
index c98296e..181d319 100644
--- a/libopkg/hash_table.c
+++ b/libopkg/hash_table.c
@@ -69,7 +69,7 @@ hash_print_stats(hash_table_t *hash)
"\tmax_bucket_len=%d, n_used_buckets=%d, ave_bucket_len=%.2f\n"
"\tn_hits=%d, n_misses=%d\n",
hash->name,
- hash->n_buckets*sizeof(hash_entry_t),
+ hash->n_buckets*(int)sizeof(hash_entry_t),
hash->n_buckets,
hash->n_elements,
hash->n_collisions,