mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
lib-util: fix c++ compile warning.
Guenther
This commit is contained in:
parent
6c019b8755
commit
d81a9a9837
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user