diff --git a/fallback.c b/fallback.c index c3f5583..5a4bfff 100644 --- a/fallback.c +++ b/fallback.c @@ -983,7 +983,7 @@ debug_hook(void) UINT8 *data = NULL; UINTN dataSize = 0; EFI_STATUS efi_status; - volatile register int x = 0; + register volatile int x = 0; extern char _etext, _edata; efi_status = get_variable(L"SHIM_DEBUG", &data, &dataSize, diff --git a/shim.c b/shim.c index b35b0ad..0e7e784 100644 --- a/shim.c +++ b/shim.c @@ -2559,7 +2559,7 @@ debug_hook(void) UINT8 *data = NULL; UINTN dataSize = 0; EFI_STATUS efi_status; - volatile register UINTN x = 0; + register volatile UINTN x = 0; extern char _text, _data; if (x)