summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliprint.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 01:42:30 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 01:42:30 +0000
commit062f89bc2833bf49f873a7fd5c2624babd702db0 (patch)
tree2b0224355c23e67b21fa01ce537f6f22e53cbc18 /source3/libsmb/cliprint.c
parentcc865e1edc57052877ae542058d62dfd16152369 (diff)
downloadsamba-062f89bc2833bf49f873a7fd5c2624babd702db0.tar.gz
samba-062f89bc2833bf49f873a7fd5c2624babd702db0.tar.bz2
samba-062f89bc2833bf49f873a7fd5c2624babd702db0.zip
get rid of some sompiler warnings on IRIX
(This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
Diffstat (limited to 'source3/libsmb/cliprint.c')
-rw-r--r--source3/libsmb/cliprint.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/libsmb/cliprint.c b/source3/libsmb/cliprint.c
index f302c045a5..2fb0e59aca 100644
--- a/source3/libsmb/cliprint.c
+++ b/source3/libsmb/cliprint.c
@@ -55,7 +55,7 @@ int cli_print_queue(struct cli_state *cli,
char *rparam = NULL;
char *rdata = NULL;
char *p;
- int rdrcnt, rprcnt;
+ unsigned int rdrcnt, rprcnt;
pstring param;
int result_code=0;
int i = -1;
@@ -125,7 +125,8 @@ int cli_printjob_del(struct cli_state *cli, int job)
char *rparam = NULL;
char *rdata = NULL;
char *p;
- int rdrcnt,rprcnt, ret = -1;
+ unsigned int rdrcnt,rprcnt;
+ int ret = -1;
pstring param;
memset(param,'\0',sizeof(param));