Skip to content
Commit 697c5fd8 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Anas Nashif
Browse files

llext: test-simple: replace ARRAY_SIZE() with sizeof()



When identifying the size of an extension image we simply need its
size in bytes, not the number of array elements, that contain it.
Both happen to return the same value, because we use arrays of bytes,
but using sizeof() is clearer.

Signed-off-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
parent 53323930
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment