git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da0ee7d
)
s3:lib/netapi/tests: fix invalid switch enum level warning
author
Stefan Metzmacher
<metze@samba.org>
Wed, 26 Feb 2014 19:16:26 +0000
(20:16 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 25 Nov 2014 06:25:44 +0000
(07:25 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/netapi/tests/netgroup.c
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/tests/netgroup.c
b/source3/lib/netapi/tests/netgroup.c
index c872087cffd3384cba0fa35f5739ac109a5d7f3d..dba4fe7567c9bbb71bad6fc2ce44efd8f3deea16 100644
(file)
--- a/
source3/lib/netapi/tests/netgroup.c
+++ b/
source3/lib/netapi/tests/netgroup.c
@@
-348,7
+348,7
@@
NET_API_STATUS netapitest_group(struct libnetapi_ctx *ctx,
printf("testing NetGroupSetInfo level 0\n");
status = NetGroupSetInfo(hostname, groupname, 0, (uint8_t *)&g0, &parm_err);
- switch (status) {
+ switch (
(int)
status) {
case 0:
break;
case 50: /* not supported */