db: fix hash lookups on 64-bit machines

The hash is 'unsigned long' everywhere which is 64-bits (on 64-bit
boxes). Fix the one instance of it being 'unsigned int' since that
would be 32-bit and cause lookup failures on 64-bit boxes.
cute-signatures
Timo Teräs 2010-11-23 11:32:42 +02:00
parent 6398d338c6
commit 37e8f803a5
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ struct apk_db_file {
struct apk_db_dir {
apk_hash_node hash_node;
unsigned int hash;
unsigned long hash;
struct hlist_head files;
struct apk_db_dir *parent;