summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-26 12:18:15 +0200
committerMartin Roth <martinroth@google.com>2019-07-08 14:51:49 +0000
commit3fcea0dfadde89fd425bcaaecdd357e0d10caf87 (patch)
treefe67badf88a861b17fa23c661a7d074b0ad710f0 /src
parentcca6e008687b7eb0f0a8862869702925a53ee2f4 (diff)
downloadcoreboot-3fcea0dfadde89fd425bcaaecdd357e0d10caf87.tar.xz
cpu/x86/smm/smm_module_loader: Compare num_concurrent_stacks to size_t
Spotted out using -Wconversion gcc warning option. Change-Id: I11e4792804f0f7b5a7ce504c46654c1bff775c32 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33804 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/smm/smm_module_loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c
index b3ffb3d318..fb5c5f33e9 100644
--- a/src/cpu/x86/smm/smm_module_loader.c
+++ b/src/cpu/x86/smm/smm_module_loader.c
@@ -185,7 +185,7 @@ static int smm_module_setup_stub(void *smbase, struct smm_loader_params *params,
void *stacks_top;
size_t size;
char *base;
- int i;
+ size_t i;
struct smm_stub_params *stub_params;
struct rmodule smm_stub;