mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: let gcc know our cast is safe
Data is already aligned, so casting the ->data field is fine.
This commit is contained in:
@ -304,7 +304,7 @@ sp_callgraph_profile_generate_worker (GTask *task,
|
||||
|
||||
g_array_index (resolved, guint64, len++) = POINTER_TO_U64 ("[Everything]");
|
||||
|
||||
stack_stash_add_trace (resolved_stash, (SpAddress *)resolved->data, len, 1);
|
||||
stack_stash_add_trace (resolved_stash, (SpAddress *)(gpointer)resolved->data, len, 1);
|
||||
}
|
||||
|
||||
ret = TRUE;
|
||||
|
||||
Reference in New Issue
Block a user