Fix warning on 64bit arches.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 08:39:16 +0000 (08:39 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Tue, 24 Nov 2009 08:39:16 +0000 (08:39 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@365 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/hash_table.c

index c98296e2128bcad438cd735c9a90225145803bae..181d319a6217512d8e64c3f5a43a02cb5feb6256 100644 (file)
@@ -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,