Author: j16sdiz
Date: 2009-02-13 14:43:45 +0000 (Fri, 13 Feb 2009)
New Revision: 25617

Modified:
   trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
Log:
fix warning

Modified: trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java
===================================================================
--- trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2009-02-13 14:43:14 UTC (rev 25616)
+++ trunk/freenet/src/freenet/store/saltedhash/SaltedHashFreenetStore.java      
2009-02-13 14:43:45 UTC (rev 25617)
@@ -108,7 +108,7 @@
                fullKeyLength = callback.fullKeyLength();
                dataBlockLength = callback.dataLength();
                
-               hdPadding = (int) ((headerBlockLength + dataBlockLength) % 512 
== 0 ? 0
+               hdPadding = ((headerBlockLength + dataBlockLength) % 512 == 0 ? 0
                        : 512 - (headerBlockLength + dataBlockLength) % 512);
 
                this.random = random;

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to