Skip to content
Commit ca04494d authored by Simon Glass's avatar Simon Glass
Browse files

dtoc: Fix widening an int array to an int



An int array can hold a single int so we should not need to do anything
in the widening operation. However due to a quirk in the code, an int[3]
widened with an int produced an int[4]. Fix this and add a test.

Fix a comment typo while we are here.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarTom Rini <trini@konsulko.com>
parent df82de80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment