efi_loader: wrong type in wait_for_event
[oweals/u-boot.git] / lib / efi_loader / efi_boottime.c
index e5adc17faba94d9a09721d0b6d625d5d7f839592..976d5822f7d578aa764a2b1e5a6c69e00cd90b44 100644 (file)
@@ -553,7 +553,7 @@ static efi_status_t EFIAPI efi_set_timer_ext(struct efi_event *event,
  */
 static efi_status_t EFIAPI efi_wait_for_event(unsigned long num_events,
                                              struct efi_event **event,
-                                             unsigned long *index)
+                                             size_t *index)
 {
        int i, j;