Skip to content
Commit a720d38f authored by Erwin Rol's avatar Erwin Rol Committed by Kumar Gala
Browse files

samples: olimex_stm32_e407: fix coverity warning



Fix a Coverity warning when using %d to print the result
of a sizeof(...)

Since the result of the sizeof() use in the example
will always fit in a int, simply cast the result
to a int so the %d is always correct.

Fixes: #18373

Signed-off-by: default avatarErwin Rol <erwin@erwinrol.com>
parent d566254e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment