[Android] Fix casting
Geoffrey Métais
git at videolan.org
Tue Feb 17 17:43:46 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 17 12:05:14 2015 +0100| [908926632a5422ade61568d4a574f603c2f9ccd8] | committer: Geoffrey Métais
Fix casting
CID #1270675
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=908926632a5422ade61568d4a574f603c2f9ccd8
---
.../src/org/videolan/vlc/gui/dialogs/TimePickerDialogFragment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/TimePickerDialogFragment.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/TimePickerDialogFragment.java
index a820216..1d8077a 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/TimePickerDialogFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/TimePickerDialogFragment.java
@@ -89,7 +89,7 @@ public class TimePickerDialogFragment extends DialogFragment implements TimePick
AdvOptionsDialog.setSleep(view.getContext(), sleepTime);
break;
case ACTION_JUMP:
- long time = (long)((hourOfDay*60+minute)*60000);
+ long time = ( hourOfDay * 60l + minute ) * 60000l;
LibVLC.getExistingInstance().setTime(time);
break;
}
More information about the Android
mailing list