Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch 
into lp:zorba.

Commit message:
fixing compilation warnings in HashMap

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/131981

fixing compilation warnings in HashMap
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/131981
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/zorbautils/hashmap.h'
--- src/zorbautils/hashmap.h	2012-09-19 22:00:53 +0000
+++ src/zorbautils/hashmap.h	2012-10-29 21:23:25 +0000
@@ -824,7 +824,7 @@
 ********************************************************************************/
 csize computeCapacity(csize size) const
 {
-  return size + 32 + size / (5 - 10 * (theLoadFactor - 0.7)) ;
+  return size + 32 + static_cast<csize>(size / (5 - 10 * (theLoadFactor - 0.7)));
 }
 
 

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to