Author: robert
Date: 2007-12-28 20:23:03 +0000 (Fri, 28 Dec 2007)
New Revision: 16830

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
broken build, cast long to int... :(


Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2007-12-28 19:00:58 UTC (rev 
16829)
+++ trunk/freenet/src/freenet/node/Node.java    2007-12-28 20:23:03 UTC (rev 
16830)
@@ -1007,8 +1007,8 @@
                                                        e.printStackTrace();
                                                }
                                                //Perhaps a bit hackish...? 
Seems like this should be near it's definition in NodeStats.
-                                               
nodeStats.avgStoreLocation.changeMaxReports(maxStoreKeys);
-                                               
nodeStats.avgCacheLocation.changeMaxReports(maxCacheKeys);
+                                               
nodeStats.avgStoreLocation.changeMaxReports((int)maxStoreKeys);
+                                               
nodeStats.avgCacheLocation.changeMaxReports((int)maxCacheKeys);
                                        }
                });



Reply via email to