]> arthur.barton.de Git - ngircd-alex.git/commit
Cast getpid() and time() results for srand() input
authorAlexander Barton <alex@barton.de>
Tue, 2 Aug 2011 11:21:54 +0000 (13:21 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 2 Aug 2011 11:24:13 +0000 (13:24 +0200)
commit160c52400fe17f83069cdda7c6d2a92e9c430244
tree26e0fb09c740d01c6fdfa920ecdbca5efa89317b
parent0b8acf120529754b3a23d2cce563da9a45ef26e4
Cast getpid() and time() results for srand() input

This fixes:

src/ngircd/ngircd.c:596: warning: implicit conversion
 shortens 64-bit value into a 32-bit value

(i686-apple-darwin11-llvm-gcc-4.2)
src/ngircd/ngircd.c