diff --git a/public/libbacktrace/elf.cpp b/public/libbacktrace/elf.cpp index 6a7ce075..e6d6c4ae 100644 --- a/public/libbacktrace/elf.cpp +++ b/public/libbacktrace/elf.cpp @@ -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;