]> arthur.barton.de Git - ngircd.git/commit
Add a few casts, fix compiler warnings on NetBSD 5
authorAlexander Barton <alex@barton.de>
Mon, 12 Nov 2012 21:39:57 +0000 (22:39 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 12 Nov 2012 21:39:57 +0000 (22:39 +0100)
commit44926b7f9ff031c37be48b33c314e47e2f84ff9f
tree5b82319447d2626b9f5d9cd222ce902e338ae684
parentd11a700589b2abab71b67ffb81f17f38936a169c
Add a few casts, fix compiler warnings on NetBSD 5

This fixes a few warnings of this type:
  XXX.c: In function 'AAA':
  XXX.c:YY: warning: array subscription has type 'char'

Tested on NetBSD 5.0.2 with gcc 4.1.3.
src/ngircd/irc-login.c
src/tool/tool.c