diff options
| author | Kamil Aronowski <kamil.aronowski@yahoo.com> | 2023-05-08 10:15:21 +0200 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2023-06-21 14:45:35 -0400 |
| commit | 908c388c922c6369cace0b76660198becee2284e (patch) | |
| tree | 167009b86e850f50bfc0af003fdd6ff649b02a02 | |
| parent | 549d34691d68518e55c2edd6e759b19de7f8ddef (diff) | |
| download | efi-boot-shim-908c388c922c6369cace0b76660198becee2284e.tar.gz efi-boot-shim-908c388c922c6369cace0b76660198becee2284e.zip | |
Change type of fallback_verbose_wait from int to unsigned long
The variable fallback_verbose_wait from now on is of the type unsigned
long to match the type of the argument usleep() accepts.
Signed-off-by: Kamil Aronowski <kamil.aronowski@yahoo.com>
| -rw-r--r-- | fallback.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1006,7 +1006,7 @@ try_start_first_option(EFI_HANDLE parent_image_handle) EFI_HANDLE image_handle; if (get_fallback_verbose()) { - int fallback_verbose_wait = 500000; /* default to 0.5s */ + unsigned long fallback_verbose_wait = 500000; /* default to 0.5s */ #ifdef FALLBACK_VERBOSE_WAIT fallback_verbose_wait = FALLBACK_VERBOSE_WAIT; #endif @@ -1211,7 +1211,7 @@ reset: console_print(L"Reset System\n"); if (get_fallback_verbose()) { - int fallback_verbose_wait = 500000; /* default to 0.5s */ + unsigned long fallback_verbose_wait = 500000; /* default to 0.5s */ #ifdef FALLBACK_VERBOSE_WAIT fallback_verbose_wait = FALLBACK_VERBOSE_WAIT; #endif |
