s3:loadparm: add suppor for P_BYTES to equal_parameter() - fix build warning
authorMichael Adam <obnox@samba.org>
Thu, 21 Jul 2011 15:03:58 +0000 (17:03 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 21 Jul 2011 15:24:17 +0000 (17:24 +0200)
source3/param/loadparm.c

index d6f225b54e95358155cd30b712356d6c6fb30fdf..d3cf0a7bb00a22d031bafde54a03bb5f0d776342 100644 (file)
@@ -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: