aboutsummaryrefslogtreecommitdiff
path: root/include/efi_selftest.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt2022-11-22 11:32:36 +0100
committerHeinrich Schuchardt2022-11-22 11:54:30 +0100
commitcaf29d1e6498bca1f4e98864b0c7a96976a14f20 (patch)
treee4e35a38108c931bda54e23af990b286aa3d139b /include/efi_selftest.h
parentae182a25f5777f957a2c56539221abcb5648c5c6 (diff)
efi_selftest: unsigned char parameter for efi_st_strcmp_16_8()
Use unsigned char for the parameter of efi_st_strcmp_16_8. This allows comparing characters 0x80 - 0xff. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_selftest.h')
-rw-r--r--include/efi_selftest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_selftest.h b/include/efi_selftest.h
index e900cb85a96..7c69c3f3761 100644
--- a/include/efi_selftest.h
+++ b/include/efi_selftest.h
@@ -131,7 +131,7 @@ u16 *efi_st_translate_code(u16 code);
* @buf2: char string
* Return: 0 if both buffers contain equivalent strings
*/
-int efi_st_strcmp_16_8(const u16 *buf1, const char *buf2);
+int efi_st_strcmp_16_8(const u16 *buf1, const unsigned char *buf2);
/**
* efi_st_get_config_table() - get configuration table