Skip to content

Commit

Permalink
- fix possible incorrect cast to Integer
Browse files Browse the repository at this point in the history
  • Loading branch information
derreisende77 committed Oct 22, 2024
1 parent 9871224 commit 0dc9435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mediathek/daten/DatenFilm.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0dc9435

Please sign in to comment.