s3:smbd: Fix really ugly bool vs. int bug!!!
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Feb 2010 17:54:41 +0000 (18:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Feb 2010 09:08:03 +0000 (10:08 +0100)
commit81191c8bbdf7517f35245cca6945ed898ae1e0e2
treeb4a820be6a800c6bad0043bcf3d05e34f5023f27
parent8946a47fcebe57f459c59ee2cb163e15901ff996
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)

Part of a fix for bug #7119 (support for large browselist).
source3/smbd/lanman.c