From aad40a35308e11d442144022822a5766dbe3496a Mon Sep 17 00:00:00 2001 From: graham.gower Date: Tue, 24 Nov 2009 03:39:16 -0500 Subject: Fix warning on 64bit arches. git-svn-id: http://opkg.googlecode.com/svn/trunk@365 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg') 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, -- cgit v0.9.1