summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/raweas.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw/raweas.c')
-rw-r--r--source4/libcli/raw/raweas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/raweas.c b/source4/libcli/raw/raweas.c
index 17e5ce8f75..621181841f 100644
--- a/source4/libcli/raw/raweas.c
+++ b/source4/libcli/raw/raweas.c
@@ -129,7 +129,7 @@ uint_t ea_pull_struct(const DATA_BLOB *blob,
return 0;
}
- ea->name.s = talloc_strndup(mem_ctx, blob->data+4, nlen);
+ ea->name.s = talloc_strndup(mem_ctx, (const char *)(blob->data+4), nlen);
ea->name.private_length = nlen;
ea->value = data_blob_talloc(mem_ctx, NULL, vlen+1);
if (!ea->value.data) return 0;