diff options
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; |