1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

lib-util: fix c++ compile warning.

Guenther
This commit is contained in:
Günther Deschner 2008-10-22 14:02:31 +02:00
parent 6c019b8755
commit d81a9a9837

View File

@ -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;