]> arthur.barton.de Git - ngircd-alex.git/commit
ngt_RandomStr(): Add implicit cast to "unsigned".
authorAlexander Barton <alex@barton.de>
Sat, 18 Aug 2012 10:34:11 +0000 (12:34 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 18 Aug 2012 10:34:11 +0000 (12:34 +0200)
commit922540306e968b3c64150e771d0773273535b661
tree5c1a2da1cb892b0d12affa3074fe4b45c1a15e3d
parentd48e440a722cb56fd3c2996d2d3c87ce7f471042
ngt_RandomStr(): Add implicit cast to "unsigned".

This fixes the following warning of Xcode 4.5:

 src/tool/tool.c:150:19:
  Implicit conversion loses integer precision: 'long' to 'unsigned int'
src/tool/tool.c