Skip to content
Commit d2b07207 authored by Daniel Leung's avatar Daniel Leung Committed by Carles Cufí
Browse files

debug: thread_analyzer: fix casting pointer to int warning



In thread_analyzer_auto(), it casts one function argument
directly into unsigned int. However, on 64-bit platforms,
the compiler complains about casting from pointer of
different size (-Wpointer-to-int-cast). So cast it first to
uintptr_t before casting it into unsigned int.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 704000eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment