sync 3.0 into HEAD for the last time
[metze/samba/wip.git] / source3 / libsmb / clisecdesc.c
index d86a9022a6954f6ca2a944b919511c7bb2a13b95..548cd6ec1878033b265aa7a8d57f7a7494232f75 100644 (file)
@@ -28,7 +28,7 @@ SEC_DESC *cli_query_secdesc(struct cli_state *cli, int fnum,
 {
        char param[8];
        char *rparam=NULL, *rdata=NULL;
-       int rparam_count=0, rdata_count=0;
+       unsigned int rparam_count=0, rdata_count=0;
        prs_struct pd;
        SEC_DESC *psd = NULL;
 
@@ -78,7 +78,7 @@ BOOL cli_set_secdesc(struct cli_state *cli, int fnum, SEC_DESC *sd)
 {
        char param[8];
        char *rparam=NULL, *rdata=NULL;
-       int rparam_count=0, rdata_count=0;
+       unsigned int rparam_count=0, rdata_count=0;
        uint32 sec_info = 0;
        TALLOC_CTX *mem_ctx;
        prs_struct pd;