s3:smbd: Fix really ugly bool vs. int bug!!!
commit02f866afccc37ddc7ad4f8bd3ea201d86a94763f
authorStefan Metzmacher <metze@samba.org>
Wed, 10 Feb 2010 18:49:48 +0000 (10 19:49 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2010 15:25:10 +0000 (24 16:25 +0100)
treec521d189d19bc48099b0540353f9f36847b61dd9
parent0d86cb0fd92fc30541bc586cbb9098eb39dbfee6
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 5d4d547b901986cff378f640e9e22931d77c61b8)
source/smbd/lanman.c