From 0dc94358ec60026ba7a9de7ad59f231a137a1162 Mon Sep 17 00:00:00 2001 From: "Christian F." Date: Tue, 22 Oct 2024 21:12:27 +0200 Subject: [PATCH] - fix possible incorrect cast to Integer --- src/main/java/mediathek/daten/DatenFilm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/mediathek/daten/DatenFilm.java b/src/main/java/mediathek/daten/DatenFilm.java index f8705c31df..40defddfdf 100644 --- a/src/main/java/mediathek/daten/DatenFilm.java +++ b/src/main/java/mediathek/daten/DatenFilm.java @@ -420,7 +420,7 @@ public int compareTo(@NotNull DatenFilm other) { private void setupDatumFilm() { if (!getSendeDatum().isEmpty()) { // nur dann gibts ein Datum - long datum_long = (long)dataMap.getOrDefault(MapKeys.TEMP_DATUM_LONG, 0); + long datum_long = (long)dataMap.getOrDefault(MapKeys.TEMP_DATUM_LONG, 0L); datumFilm = new DatumFilm(datum_long * 1000); // convert from SECONDS to MILLISECONDS if (datum_long == 0) {