diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-06-26 20:29:59 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-06-27 03:30:46 +0000 |
commit | a3dc6c0d352d07c2e36595d3bd54c94e6898ace6 (patch) | |
tree | 3351a8af9a9bc24d9d59593a2e57a2ba2f234d25 /src/lib/hardwaremain.c | |
parent | a41e5f14071f79da07d4c0b03b17d3788e003945 (diff) |
lib/string: use size_t for local variable in strncmp
Since the 'maxlen' parameter's type is changed to size_t, the type of
the local variable 'i' which this is compared against should also be
changed to size_t.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ibe35d3741bc6d8a16a3bad3ec27aafc30745d931
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83224
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Diffstat (limited to 'src/lib/hardwaremain.c')
0 files changed, 0 insertions, 0 deletions