mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
gallium/util: Fix build error due to cast to different size
Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
07cb1373a2
commit
5a34aba07d
1 changed files with 2 additions and 2 deletions
|
|
@ -49,10 +49,10 @@ debug_backtrace_capture(debug_stack_frame *mesa_backtrace,
|
|||
backtrace_table = _mesa_hash_table_create(NULL, _mesa_hash_pointer,
|
||||
_mesa_key_pointer_equal);
|
||||
|
||||
backtrace_entry = _mesa_hash_table_search(backtrace_table, (void*) tid);
|
||||
backtrace_entry = _mesa_hash_table_search(backtrace_table, (void*) (uintptr_t)tid);
|
||||
if (!backtrace_entry) {
|
||||
backtrace = Backtrace::Create(getpid(), tid);
|
||||
_mesa_hash_table_insert(backtrace_table, (void*) tid, backtrace);
|
||||
_mesa_hash_table_insert(backtrace_table, (void*) (uintptr_t)tid, backtrace);
|
||||
} else {
|
||||
backtrace = (Backtrace *) backtrace_entry->data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue