Fix some compiler warnings of Apple Xcode/Clang
authorAlexander Barton <alex@barton.de>
Tue, 30 Oct 2018 00:53:24 +0000 (01:53 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 30 Oct 2018 00:53:24 +0000 (01:53 +0100)
commitc8162a80beba80f3b1d04fdba8e74bf5366c47f7
tree457a4599905c66872c872bcbe371eb12f66fde01
parente8e04b4c8fd63d075ffa6b85327c4b90d7005051
Fix some compiler warnings of Apple Xcode/Clang

For example:

* src/ngircd/irc-login.c:102:21: Implicit conversion loses integer
  precision: 'int' to 'char'

* src/ngircd/conn.c:1084:9: Implicit conversion turns floating-point
  number into integer: 'double' to 'bool'

* src/tool/tool.c:85:10: Implicit conversion loses integer precision:
  'int' to 'char'
src/ngircd/conn.c
src/ngircd/irc-login.c
src/tool/tool.c