diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-01 00:31:16 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-01 14:34:22 +0100 |
commit | 3cd8c121dc27739a9a70bf47e32dcd19e35ddf14 (patch) | |
tree | e809d0f8ca12d9348761a42df978d3f41452306e /source3/utils | |
parent | 57de60a83f3f88566d356547eb20a6f0569f76ec (diff) | |
download | samba-3cd8c121dc27739a9a70bf47e32dcd19e35ddf14.tar.gz samba-3cd8c121dc27739a9a70bf47e32dcd19e35ddf14.tar.bz2 samba-3cd8c121dc27739a9a70bf47e32dcd19e35ddf14.zip |
Fix some type-punned warnings
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index bdf92a4e4b..714d79402c 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -796,7 +796,7 @@ static int rpc_user_info(struct net_context *c, int argc, const char **argv) status = NetUserGetGroups(c->opt_host, argv[0], 0, - (uint8_t **)&u0, + (uint8_t **)(void *)&u0, (uint32_t)-1, &entries_read, &total_entries); @@ -2996,7 +2996,7 @@ static int rpc_share_list(struct net_context *c, int argc, const char **argv) status = NetShareEnum(c->opt_host, level, - (uint8_t **)&i1, + (uint8_t **)(void *)&i1, (uint32_t)-1, &entries_read, &total_entries, @@ -4775,7 +4775,7 @@ static int rpc_file_user(struct net_context *c, int argc, const char **argv) NULL, username, 3, - (uint8_t **)&i3, + (uint8_t **)(void *)&i3, preferred_len, &entries_read, &total_entries, |