From: graham.gower Date: Tue, 24 Nov 2009 08:39:16 +0000 (+0000) Subject: Fix warning on 64bit arches. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aad40a35308e11d442144022822a5766dbe3496a;p=oweals%2Fopkg-lede.git Fix warning on 64bit arches. git-svn-id: http://opkg.googlecode.com/svn/trunk@365 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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,