diff options
| author | Steve McIntyre <steve@einval.com> | 2022-06-23 00:16:56 +0100 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2022-06-23 00:16:56 +0100 |
| commit | e6ace38abd705fbe24349152b7c90d473404e86e (patch) | |
| tree | 50e7a2d6b00d650fcbee8b0c54f0a0eacefc6929 /mock-variables.c | |
| parent | 8529e0f7f70f427a7202815061362eceba6bfc50 (diff) | |
| download | efi-boot-shim-e6ace38abd705fbe24349152b7c90d473404e86e.tar.gz efi-boot-shim-e6ace38abd705fbe24349152b7c90d473404e86e.zip | |
New upstream version 15.6upstream/15.6
Diffstat (limited to 'mock-variables.c')
| -rw-r--r-- | mock-variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mock-variables.c b/mock-variables.c index e9bce544..03044549 100644 --- a/mock-variables.c +++ b/mock-variables.c @@ -445,7 +445,7 @@ free_var(struct mock_variable *var) static bool mock_sv_attrs_match(UINT32 old, UINT32 new) { - UINT32 mask = ~EFI_VARIABLE_APPEND_WRITE; + UINT32 mask = ~((UINT32)EFI_VARIABLE_APPEND_WRITE); return (old & mask) == (new & mask); } |
