summaryrefslogtreecommitdiff
path: root/src/strpool.h
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2013-04-05 17:00:30 +0200
committerMichael Schroeder <mls@suse.de>2013-04-05 17:00:30 +0200
commit2a817e5ea2c58e86bc897bc4a80a945ba8b3a9cc (patch)
tree965b86e00602bfff1181b4df43bdcf1359bcb3b4 /src/strpool.h
parent91d23d51236a02edd97c9a1f043dbd186210d6e4 (diff)
downloadlibsolv-2a817e5ea2c58e86bc897bc4a80a945ba8b3a9cc.tar.gz
libsolv-2a817e5ea2c58e86bc897bc4a80a945ba8b3a9cc.tar.bz2
libsolv-2a817e5ea2c58e86bc897bc4a80a945ba8b3a9cc.zip
cleanup hash code, it makes no sense to have an extra type for the mask
Diffstat (limited to 'src/strpool.h')
-rw-r--r--src/strpool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strpool.h b/src/strpool.h
index 6745be8..c97b873 100644
--- a/src/strpool.h
+++ b/src/strpool.h
@@ -25,7 +25,7 @@ struct _Stringpool
Offset sstrings; /* size of used stringspace */
Hashtable stringhashtbl; /* hash table: (string ->) Hash -> Id */
- Hashmask stringhashmask; /* modulo value for hash table (size of table - 1) */
+ Hashval stringhashmask; /* modulo value for hash table (size of table - 1) */
};
void stringpool_init(Stringpool *ss, const char *strs[]);