From 641beeb2a35c889f388c0125be44b63a10845ffc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 21 Jul 2011 17:03:58 +0200 Subject: s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warning --- source3/param/loadparm.c | 1 + 1 file changed, 1 insertion(+) 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: -- cgit