Commit 37e8f803 authored by Timo Teräs's avatar Timo Teräs
Browse files

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.
parent 6398d338
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment