diff options
author | Michael Adam <obnox@samba.org> | 2008-04-13 00:24:42 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-04-13 00:24:42 +0200 |
commit | 25953779884483b9bb49feaa7da0f634ed20681b (patch) | |
tree | 31f48db72e867eaf18796df1978d3622ba0b9bb7 /source3/lib | |
parent | 3aa565e790d559cb88d4a73287943b71eaf31967 (diff) | |
download | samba-25953779884483b9bb49feaa7da0f634ed20681b.tar.gz samba-25953779884483b9bb49feaa7da0f634ed20681b.tar.bz2 samba-25953779884483b9bb49feaa7da0f634ed20681b.zip |
libnetapi: fix a C++ warning by making implicit cast explicit
Michael
(This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c index 58efeb375d..dd7a8808b4 100644 --- a/source3/lib/netapi/serverinfo.c +++ b/source3/lib/netapi/serverinfo.c @@ -90,7 +90,7 @@ WERROR NetServerGetInfo_r(struct libnetapi_ctx *ctx, goto done; } - *r->out.buffer = talloc_memdup(ctx, &info, sizeof(info)); + *r->out.buffer = (uint8_t *)talloc_memdup(ctx, &info, sizeof(info)); if (!*r->out.buffer) { werr = WERR_NOMEM; goto done; |