]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Explicitely cast Conf_MaxPenaltyTime (time_t) to "long"
authorAlexander Barton <alex@barton.de>
Tue, 29 Dec 2020 20:45:09 +0000 (21:45 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 29 Dec 2020 20:45:09 +0000 (21:45 +0100)
This fixes the following compiler warning, for example on OpenBSD:

  conf.c: In function 'Conf_Test':
  conf.c:391: warning: format '%ld' expects type 'long int', but argument
                       2 has type 'time_t'

Thanks to Götz Hoffart for reporting this!


No differences found