comparison src/ChangeLog @ 4778:0081fd36b783

Cast enumerations to int before comparing them for the sake of VC++. src/ChangeLog addition: 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): Cast the enumeration values here to integers before comparing them, fixing the build on VC++. Thank you Vin!
author Aidan Kehoe <kehoea@parhasard.net>
date Thu, 17 Dec 2009 14:51:37 +0000
parents c69aeb86b2a3
children fd98353950a4
comparison
equal deleted inserted replaced
4777:c69aeb86b2a3 4778:0081fd36b783
1 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
2
3 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD):
4 Cast the enumeration values here to integers before comparing
5 them, fixing the build on VC++. Thank you Vin!
6
1 2009-12-17 Aidan Kehoe <kehoea@parhasard.net> 7 2009-12-17 Aidan Kehoe <kehoea@parhasard.net>
2 8
3 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD): 9 * elhash.c (HASH_TABLE_DEFAULT_REHASH_THRESHOLD):
4 New macro, giving a default value for a hash table's rehash 10 New macro, giving a default value for a hash table's rehash
5 threshold given its size and test function. 11 threshold given its size and test function.