From ff19eef0d07efa71f8692d379e1e50ce09150d4b Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 17 May 2007 17:26:36 +0000 Subject: [PATCH] explicitly make initialized value a float. git-svn-id: http://svn.openzap.org/svn/openzap/trunk@19 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/hashtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openzap/src/hashtable.c b/libs/openzap/src/hashtable.c index 763357edce..c903d3ca67 100644 --- a/libs/openzap/src/hashtable.c +++ b/libs/openzap/src/hashtable.c @@ -22,7 +22,7 @@ static const unsigned int primes[] = { 805306457, 1610612741 }; 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 *