s3:smbd: Fix really ugly bool vs. int bug!!!
commit511048de06f72d129e7b63717fcc55148fc487dd
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Feb 2010 17:54:41 +0000 (9 18:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Feb 2010 10:08:42 +0000 (10 11:08 +0100)
tree5880919f6f35ad7e2936adca02f089ccc6a36d77
parentfb9a59d519a86a905ab57411bad666ef6d11dca9
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).
(cherry picked from commit 81191c8bbdf7517f35245cca6945ed898ae1e0e2)
source3/smbd/lanman.c