mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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
|
||||
{
|
||||
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)
|
||||
goto fail;
|
||||
memcpy (diralc, filename, dirnamelen);
|
||||
@ -875,7 +875,7 @@ macho_add_dsym (struct backtrace_state *state, const char *filename,
|
||||
+ dsymsuffixdirlen
|
||||
+ basenamelen
|
||||
+ 1);
|
||||
dsym = backtrace_alloc (state, dsymlen, error_callback, data);
|
||||
dsym = (char*)backtrace_alloc (state, dsymlen, error_callback, data);
|
||||
if (dsym == NULL)
|
||||
goto fail;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user