Skip to content

Commit

Permalink
Merge pull request #2471 from athos-ribeiro/time_t-secs
Browse files Browse the repository at this point in the history
bfd: use time_t to avoid implicit ptr type casting
  • Loading branch information
pqarmitage authored Sep 26, 2024
2 parents a7f34c9 + ef1df49 commit bb33e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keepalived/bfd/bfd_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static void
conf_write_sands(FILE *fp, const char *text, unsigned long sands)
{
char time_str[26];
long secs;
time_t secs;

if (sands == TIMER_NEVER) {
conf_write(fp, " %s = [disabled]", text);
Expand Down

0 comments on commit bb33e03

Please sign in to comment.