commit | a7d6698ed8b83e01ab614238a117150dfb699c31 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jul 28 19:23:10 2021 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sun Aug 01 09:05:24 2021 -0600 |
tree | fe4d76d9f16f939914bca1af05da83b05d055cdd | |
parent | fd4078e07659b9fa9a7db39cfb8c68ef8faa4dfe [diff] |
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: Simon Glass <sjg@chromium.org> Reported-by: Tom Rini <trini@konsulko.com>