]> arthur.barton.de Git - ngircd.git/commit
Explicitly cast return value of read(2) to "int"
authorAlexander Barton <alex@barton.de>
Wed, 22 Sep 2010 12:15:46 +0000 (14:15 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 22 Sep 2010 12:15:46 +0000 (14:15 +0200)
commite2ba7e08b4a4ca73a74c10e7189b46f6d8dcfc75
tree733fe41510f1f48e4cdce3ecf421944d99803c4a
parentb1a117cd98bad64ac56f06f854d4b00f488e44ea
Explicitly cast return value of read(2) to "int"

This fixes the following gcc warning, emitted by Xcode:

src/ngircd/sighandlers.c: In function 'Signal_Callback':
src/ngircd/sighandlers.c:239: warning: implicit conversion shortens 64-bit value into a 32-bit value
src/ngircd/sighandlers.c