Fix type.

This commit is contained in:
Bartosz Taudul 2023-01-05 20:34:50 +01:00
parent 236bbfa8b1
commit b53acde418
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -5114,7 +5114,7 @@ elf_uncompress_chdr (struct backtrace_state *state,
else
{
alc_len = chdr->ch_size;
alc = backtrace_alloc (state, alc_len, error_callback, data);
alc = (char*)backtrace_alloc (state, alc_len, error_callback, data);
if (alc == NULL)
return 0;
po = (unsigned char *) alc;