summaryrefslogtreecommitdiff
path: root/source3/rpc_parse/parse_prs.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-03-15 07:45:51 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-03-15 07:45:51 +0000
commita27d434c4b4363762e7a0d5eeddd35e2b8dbb374 (patch)
treecf83b7931f7ba94d10ba73cd3d76da39b1f6ca2b /source3/rpc_parse/parse_prs.c
parentd8549b0360b86f151a8cd221838d005e083bfba8 (diff)
downloadsamba-a27d434c4b4363762e7a0d5eeddd35e2b8dbb374.tar.gz
samba-a27d434c4b4363762e7a0d5eeddd35e2b8dbb374.tar.bz2
samba-a27d434c4b4363762e7a0d5eeddd35e2b8dbb374.zip
Fix signed/unsigned issues - mostly 'i' counters.
Fix an inconpatible poitner type that caused the IA64 not to build Andrew Bartlett (This used to be commit 37436b0aae108fceace3049d3868510e1ba592ac)
Diffstat (limited to 'source3/rpc_parse/parse_prs.c')
-rw-r--r--source3/rpc_parse/parse_prs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 702375be35..aeaa42ac92 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -938,7 +938,7 @@ BOOL prs_buffer2(BOOL charmode, const char *name, prs_struct *ps, int depth, BUF
BOOL prs_string2(BOOL charmode, const char *name, prs_struct *ps, int depth, STRING2 *str)
{
- int i;
+ unsigned int i;
char *q = prs_mem_get(ps, str->str_max_len);
if (q == NULL)
return False;
@@ -1035,7 +1035,7 @@ BOOL prs_unistr3(BOOL charmode, const char *name, UNISTR3 *str, prs_struct *ps,
BOOL prs_unistr(const char *name, prs_struct *ps, int depth, UNISTR *str)
{
- int len = 0;
+ unsigned int len = 0;
unsigned char *p = (unsigned char *)str->buffer;
uint8 *start;
char *q;