diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-06-26 12:12:00 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2019-07-08 14:51:08 +0000 |
commit | cca6e008687b7eb0f0a8862869702925a53ee2f4 (patch) | |
tree | 7e7bfdc4f24923c68677a4c1a8fa80249b4bb3c3 /src/arch/x86 | |
parent | fbdeb4af75d022c237ff48cb3021451d7e8c5328 (diff) |
src/arch/x86/acpigen: Compare dev_states_count to size_t
Spotted out using -Wconversion gcc warning option.
Change-Id: Ib882cfa6d429fbfcab2b8132280182b427d510aa
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33803
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/acpigen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c index 74cd25a858..f9af10229e 100644 --- a/src/arch/x86/acpigen.c +++ b/src/arch/x86/acpigen.c @@ -1115,7 +1115,7 @@ void acpigen_write_uuid(const char *uuid) void acpigen_write_power_res(const char *name, uint8_t level, uint16_t order, const char *dev_states[], size_t dev_states_count) { - int i; + size_t i; for (i = 0; i < dev_states_count; i++) { acpigen_write_name(dev_states[i]); acpigen_write_package(1); |