s4:torture/libnetapi: avoid compiler warning
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Mar 2015 22:10:01 +0000 (23:10 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 20 Mar 2015 19:43:13 +0000 (20:43 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/libnetapi/libnetapi_group.c

index 6f1428dbcfcc5b442db3236200ff9dceda0ef8fa..d27a99b5bfc2d1eec3add097e21fc46e9d587dea 100644 (file)
@@ -361,7 +361,7 @@ bool torture_libnetapi_group(struct torture_context *tctx)
        torture_comment(tctx, "Testing NetGroupSetInfo level 0\n");
 
        status = NetGroupSetInfo(hostname, groupname, 0, (uint8_t *)&g0, &parm_err);
-       switch (status) {
+       switch ((uint32_t)status) {
                case 0:
                        break;
                case 50: /* not supported */