Skip to content
Commit f2cc6249 authored by Carlo Caione's avatar Carlo Caione Committed by Ioannis Glaropoulos
Browse files

subsystem: kernel_shell: Fix pointer cast to u32_t



The current code is assuming that the pointer to the thread structure is
32bit, casting it to u32_t before printing its address. This is wrong on
64bit architectures (CONFIG_64BIT) and the compiler complains.

Fix the problem by using '%p' to print the address.

Signed-off-by: default avatarCarlo Caione <ccaione@baylibre.com>
parent d55ed936
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment