fixed type conversion in calculation with given start date and

duration
This commit is contained in:
Ronald Schaten 2011-06-08 21:02:04 +02:00
parent e50df8eaf2
commit 2a22bfefb1

View File

@ -110,7 +110,7 @@ public class WaldemarWidget extends AppWidgetProvider {
case 3: // duration and timeThen case 3: // duration and timeThen
break; break;
case 4: // timeStart and duration case 4: // timeStart and duration
timeThen = timeStart + duration * 86400000; timeThen = (long)(timeStart + duration * 86400000.);
break; break;
} }