summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-12-21 14:08:02 +1100
committerAmitay Isaacs <amitay@samba.org>2011-12-22 05:30:49 +0100
commitcd772e9bd8b1607a171338845e0de305497c1c07 (patch)
tree59ce67b72ad5fb5416f0d187ee04909d8ed2679d /lib/param
parenta42de3b5f0b11aaa4fa54604200f3c455ee8ffc4 (diff)
downloadsamba-cd772e9bd8b1607a171338845e0de305497c1c07.tar.gz
samba-cd772e9bd8b1607a171338845e0de305497c1c07.tar.bz2
samba-cd772e9bd8b1607a171338845e0de305497c1c07.zip
param: Fix the data type for bAvailable
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
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h
index a50384d873..f0e747b00c 100644
--- a/lib/param/loadparm.h
+++ b/lib/param/loadparm.h
@@ -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 */