summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:03:58 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:17 +0200
commit641beeb2a35c889f388c0125be44b63a10845ffc (patch)
treebb11c155ff013e18ef22a875d2dd3bfa292bdb2f
parent64afd5c4865578622dc3915bce83640256ae51c5 (diff)
downloadsamba-641beeb2a35c889f388c0125be44b63a10845ffc.tar.gz
samba-641beeb2a35c889f388c0125be44b63a10845ffc.tar.bz2
samba-641beeb2a35c889f388c0125be44b63a10845ffc.zip
s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warning
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index d6f225b54e..d3cf0a7bb0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7600,6 +7600,7 @@ static bool equal_parameter(parm_type type, void *ptr1, void *ptr2)
case P_INTEGER:
case P_ENUM:
case P_OCTAL:
+ case P_BYTES:
return (*((int *)ptr1) == *((int *)ptr2));
case P_CHAR: