Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 6, 2024
1 parent b35c458 commit 68ba4a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libical/icaltime.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ struct icaltimetype icaltime_today(void)
icaltime_t icaltime_as_timet(const struct icaltimetype tt)
{
struct tm stm;
icaltime_t t = (icaltime_t) -1;
icaltime_t t = (icaltime_t)-1;

/* If the time is the special null time, return 0. */
if (icaltime_is_null_time(tt)) {
Expand All @@ -270,7 +270,7 @@ icaltime_t icaltime_as_timet(const struct icaltimetype tt)
stm.tm_isdst = -1;

if (!make_time(&stm, 0, &t))
t = ((icaltime_t) -1);
t = ((icaltime_t)-1);

return t;
}
Expand Down

0 comments on commit 68ba4a0

Please sign in to comment.