summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-22 14:02:31 +0200
committerGünther Deschner <gd@samba.org>2008-10-22 21:37:36 +0200
commitd81a9a9837870f0581269c27e41257133d24fbf6 (patch)
tree2f6a2d788bf92e296cc6677d67ee21a35d77e933 /lib
parent6c019b875515662f5c97d89d653e2708478581ad (diff)
downloadsamba-d81a9a9837870f0581269c27e41257133d24fbf6.tar.gz
samba-d81a9a9837870f0581269c27e41257133d24fbf6.tar.bz2
samba-d81a9a9837870f0581269c27e41257133d24fbf6.zip
lib-util: fix c++ compile warning.
Guenther
Diffstat (limited to 'lib')
-rw-r--r--lib/util/asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/asn1.c b/lib/util/asn1.c
index ef346542a6..a2665ed539 100644
--- a/lib/util/asn1.c
+++ b/lib/util/asn1.c
@@ -355,7 +355,7 @@ bool asn1_check_BOOLEAN(struct asn1_data *data, bool v)
bool asn1_load(struct asn1_data *data, DATA_BLOB blob)
{
ZERO_STRUCTP(data);
- data->data = talloc_memdup(data, blob.data, blob.length);
+ data->data = (uint8_t *)talloc_memdup(data, blob.data, blob.length);
if (!data->data) {
data->has_error = true;
return false;