summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-15 23:13:26 -0800
committerTim Prouty <tprouty@samba.org>2008-12-15 23:30:49 -0800
commit70874ceed92c60a2c016ea05507b0fa273f1d853 (patch)
tree2d22ad4b4a5a27c9253243160b3b1d925df3ba06 /source3/rpc_parse
parent8e1db7eab17ea0dcb052bc330ab31636906a59fe (diff)
downloadsamba-70874ceed92c60a2c016ea05507b0fa273f1d853.tar.gz
samba-70874ceed92c60a2c016ea05507b0fa273f1d853.tar.bz2
samba-70874ceed92c60a2c016ea05507b0fa273f1d853.zip
s3: Fix "differing signedness" build warnings
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c
index 169e5cb560..7d1d00a373 100644
--- a/source3/rpc_parse/parse_misc.c
+++ b/source3/rpc_parse/parse_misc.c
@@ -152,7 +152,7 @@ bool smb_io_dom_sid(const char *desc, DOM_SID *sid, prs_struct *ps, int depth)
if(!prs_uint8 ("sid_rev_num", ps, depth, &sid->sid_rev_num))
return False;
- if(!prs_uint8 ("num_auths ", ps, depth, &sid->num_auths))
+ if(!prs_uint8 ("num_auths ", ps, depth, (uint8 *)&sid->num_auths))
return False;
for (i = 0; i < 6; i++)