s3:smbd: Fix really ugly bool vs. int bug!!!
commitf364e845ab91691c154f9fba0a6f802eeee51176
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Feb 2010 17:54:41 +0000 (9 18:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:53 +0000 (15 14:46 +0100)
treeeb2681481fc29addb43ec9fa16f21cbe92963ff6
parent7948c58dd1e7e3173f3da7c7a7f48ddc90f81444
s3:smbd: Fix really ugly bool vs. int bug!!!

A comparison function for qsort needs to return an 'int'!
Otherwise you'll get random results depending on the compiler
and the architecture...

metze
(cherry picked from commit 1686a5e7e7eb1b411b003cbbde5c0d28741c6d02)
(cherry picked from commit 4e419df9154c329b3376ab00d6bb55093fbfe71a)
source3/smbd/lanman.c