summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-01 21:11:39 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-01 21:18:43 +0100
commit05bd8c17be83057b9bcfe405fb29d27a794b9b40 (patch)
tree63f8684e3e4156b956f453a84bb7e5b4cc7b7a3e
parentcf12d4556a12edb032eaef51a60bfc815f38be61 (diff)
downloadsamba-05bd8c17be83057b9bcfe405fb29d27a794b9b40.tar.gz
samba-05bd8c17be83057b9bcfe405fb29d27a794b9b40.tar.bz2
samba-05bd8c17be83057b9bcfe405fb29d27a794b9b40.zip
s4:srvsvc RPC - revert one unsigned integer "i" back to signed
This is needed since this particular "i" counts until "count" which itself is signed. "count" is set through a signed integer variable parameter from the "share_list_all" call.
-rw-r--r--source4/rpc_server/srvsvc/dcesrv_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
index 90edadb6c6..d1e3f53ba7 100644
--- a/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
+++ b/source4/rpc_server/srvsvc/dcesrv_srvsvc.c
@@ -1384,7 +1384,7 @@ static WERROR dcesrv_srvsvc_NetShareCheck(struct dcesrv_call_state *dce_call, TA
char *device;
const char **names;
int count;
- unsigned int i;
+ int i;
*r->out.type = 0;