Skip to content

Commit 0f55b8c

Browse files
committed
Fix clang build
1 parent dda16ae commit 0f55b8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/utility.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ dt_logo_season_t get_logo_season(void)
351351
easter_sunday.tm_hour = easter_sunday.tm_min = easter_sunday.tm_sec = 0;
352352
time_t easter_sunday_sec = mktime(&easter_sunday);
353353
// we start at midnight, so it's basically +- 2 days
354-
if(abs(easter_sunday_sec - now) <= 2 * 24 * 60 * 60) return DT_LOGO_SEASON_EASTER;
354+
if(labs(easter_sunday_sec - now) <= 2 * 24 * 60 * 60) return DT_LOGO_SEASON_EASTER;
355355
}
356356

357357
return DT_LOGO_SEASON_NONE;

0 commit comments

Comments
 (0)