mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Fix casts.
This commit is contained in:
parent
50123298a7
commit
31dc44feee
@ -857,7 +857,7 @@ macho_add_dsym (struct backtrace_state *state, const char *filename,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dirnamelen = p - filename;
|
dirnamelen = p - filename;
|
||||||
diralc = backtrace_alloc (state, dirnamelen + 1, error_callback, data);
|
diralc = (char*)backtrace_alloc (state, dirnamelen + 1, error_callback, data);
|
||||||
if (diralc == NULL)
|
if (diralc == NULL)
|
||||||
goto fail;
|
goto fail;
|
||||||
memcpy (diralc, filename, dirnamelen);
|
memcpy (diralc, filename, dirnamelen);
|
||||||
@ -875,7 +875,7 @@ macho_add_dsym (struct backtrace_state *state, const char *filename,
|
|||||||
+ dsymsuffixdirlen
|
+ dsymsuffixdirlen
|
||||||
+ basenamelen
|
+ basenamelen
|
||||||
+ 1);
|
+ 1);
|
||||||
dsym = backtrace_alloc (state, dsymlen, error_callback, data);
|
dsym = (char*)backtrace_alloc (state, dsymlen, error_callback, data);
|
||||||
if (dsym == NULL)
|
if (dsym == NULL)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user