param: Fix the data type for bAvailable
authorAmitay Isaacs <amitay@gmail.com>
Wed, 21 Dec 2011 03:08:02 +0000 (14:08 +1100)
committerAmitay Isaacs <amitay@samba.org>
Thu, 22 Dec 2011 04:30:49 +0000 (05:30 +0100)
This causes the copy_service() to not copy bAvailable boolean on
big endian machines causing tests to fail.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Dec 22 05:30:49 CET 2011 on sn-devel-104

lib/param/loadparm.h

index a50384d873ccb25a5c9eb31132ba4de83800a4d4..f0e747b00cc8f2f670e317f56bfbf996cc6612b6 100644 (file)
@@ -126,7 +126,7 @@ struct parm_struct {
        char *szService;                                                \
        char *szInclude;                                                \
        bool bWidelinks;                                                \
-       int bAvailable;                                                 \
+       bool bAvailable;                                                        \
        struct parmlist_entry *param_opt;                               \
        struct bitmap *copymap;                                         \
        char dummy[3];          /* for alignment */