From d81a9a9837870f0581269c27e41257133d24fbf6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 22 Oct 2008 14:02:31 +0200 Subject: lib-util: fix c++ compile warning. Guenther --- lib/util/asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit