]> arthur.barton.de Git - ngircd.git/commit
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)
commitf3c89af845ede2dd2e1ccc5e9f1bfdc036409b88
treeab9313896e744ce5d7ea6d55650e1625ef7e7921
parentd777ce6600825208cca21b97fd3ab55385de3424
Explicitely cast Conf_MaxPenaltyTime (time_t) to "long"

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!
src/ngircd/conf.c