summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-03-31 15:13:48 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-05-03 02:56:32 +0000
commit3ef0df067b4f14c230a411b2e3726492e60ae24b (patch)
treeb58f7c54ff83ba93e2779f6e0f7fdf022a28df3a /programmer.h
parent84bfddca69602c96c5e30c12a44de7a5320637cc (diff)
downloadflashrom-3ef0df067b4f14c230a411b2e3726492e60ae24b.tar.gz
flashrom-3ef0df067b4f14c230a411b2e3726492e60ae24b.tar.bz2
flashrom-3ef0df067b4f14c230a411b2e3726492e60ae24b.zip
libflashrom.c: Use correct type for sizeof
As we want to allocate an array of `flashrom_board_info` structs, use that type in sizeof. This did not cause problems as `board_info` was at least as big as `flashrom_board_info`, but nothing guarantees it. Change-Id: I66e875d54c9a7cc59898b072b052282b0b5cbb2f Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/39973 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'programmer.h')
0 files changed, 0 insertions, 0 deletions