diff options
author | Eugene D Myers <cedarhouse@comcast.net> | 2020-09-08 16:53:43 -0400 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-09-30 10:17:19 +0000 |
commit | 075df92298fe3bb0ef04233395effe668c4a5550 (patch) | |
tree | 02f5e8b8cf76601b1ab55e87fb031e8b8ad95035 /payloads/nvramcui/payload.sh | |
parent | 61a77d6fcc1be7ce0ec6a22b0cc3ef340a8e06e4 (diff) |
security/intel/stm: Fix size_t printf format error
Size_t seems to have a compiler dependency. When building on the
Purism librem 15v4, size_t is 'unsigned long'. In this instance,
the compiler is the coreboot configured cross-compiler. In another
instance, size_t is defined as 'unsigned short'. To get around
the formatting conflict caused by this, The variable of type
size_t was cast as 'unsigned int' in the format.
Change-Id: Id51730c883d8fb9e87183121deb49f5fdda0114e
Signed-off-by: Eugene D Myers <cedarhouse@comcast.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45181
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: ron minnich <rminnich@gmail.com>
Diffstat (limited to 'payloads/nvramcui/payload.sh')
0 files changed, 0 insertions, 0 deletions