]> arthur.barton.de Git - ngircd.git/commit
my_sd_listen_fds(): really return an "int"
authorAlexander Barton <alex@barton.de>
Mon, 11 Feb 2013 22:25:13 +0000 (23:25 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 11 Feb 2013 22:25:13 +0000 (23:25 +0100)
commit1438771124ed4730aca2d722595166e31ecd88c5
treec2a29857305f9e5bee9e1db37f6301869e4c7a59
parentb95dfb3ffd798e00df54b52496963d2a998ccbb0
my_sd_listen_fds(): really return an "int"

This fixes the following warning using Apple LLVM version 4.2
(clang-425.0.24) on OS X:

  src/ngircd/conn.c:157:9: Implicit conversion loses integer
                           precision: 'long' to 'int'
src/ngircd/conn.c