s3:smbd: Fix really ugly bool vs. int bug!!!
commit5d4d547b901986cff378f640e9e22931d77c61b8
authorStefan Metzmacher <metze@samba.org>
Wed, 10 Feb 2010 18:49:48 +0000 (10 19:49 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Feb 2010 15:16:43 +0000 (22 16:16 +0100)
treea280628a38d93889aebae6dc523dbcfec6156719
parent98399a69d6fc3d30c899588c8846ce19ef974fa3
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)
source/smbd/lanman.c