diff --git a/apps/desktopgui/src/router/configuration/SpeedHelper.java b/apps/desktopgui/src/router/configuration/SpeedHelper.java index 1cce2f9c0..aec782533 100644 --- a/apps/desktopgui/src/router/configuration/SpeedHelper.java +++ b/apps/desktopgui/src/router/configuration/SpeedHelper.java @@ -23,6 +23,6 @@ public class SpeedHelper { } public static int calculateMonthlyUsage(int kbytes) { - return (kbytes*3600*24*31)/1000000; + return (int) ((((long)kbytes)*3600*24*31)/1000000); } }