elfparser: switch to char

This commit is contained in:
Christian Hergert
2023-08-17 14:06:27 -07:00
parent bdf9a55969
commit 57fcddb614

View File

@ -21,13 +21,16 @@
#include "demangle.h"
gchar *
sysprof_cplus_demangle (const gchar *name)
char *
sysprof_cplus_demangle (const char *name)
{
char *real_name;
gchar *ret;
char *ret;
int status;
if (name == NULL)
return NULL;
real_name = abi::__cxa_demangle (name, 0, 0, &status);
if (real_name == NULL)