explicitly make initialized value a float.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@19 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
5cf9a1a608
commit
ff19eef0d0
|
@ -22,7 +22,7 @@ static const unsigned int primes[] = {
|
||||||
805306457, 1610612741
|
805306457, 1610612741
|
||||||
};
|
};
|
||||||
const unsigned int prime_table_length = sizeof(primes)/sizeof(primes[0]);
|
const unsigned int prime_table_length = sizeof(primes)/sizeof(primes[0]);
|
||||||
const float max_load_factor = 0.65;
|
const float max_load_factor = 0.65f;
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
struct hashtable *
|
struct hashtable *
|
||||||
|
|
Loading…
Reference in New Issue