summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2012-07-02 11:54:21 -0400
committerMatthew Garrett <mjg@redhat.com>2012-07-02 11:54:21 -0400
commit6eb1eca4f3fd8e2116572bb2a8ccf68920261581 (patch)
treecdc9435393e8a9d0c2cd66f923f57914e4b2ca6e
parent45c13d2989f92aa59beb9d9f1fd688674b14a518 (diff)
downloadefi-boot-shim-6eb1eca4f3fd8e2116572bb2a8ccf68920261581.tar.gz
efi-boot-shim-6eb1eca4f3fd8e2116572bb2a8ccf68920261581.zip
Fix type of buffersize
-rw-r--r--shim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shim.c b/shim.c
index 532bff35..83d4b875 100644
--- a/shim.c
+++ b/shim.c
@@ -763,7 +763,7 @@ static EFI_STATUS load_grub (EFI_LOADED_IMAGE *li, void **data,
EFI_FILE_INFO *fileinfo = NULL;
EFI_FILE_IO_INTERFACE *drive;
EFI_FILE *root, *grub;
- unsigned int buffersize = sizeof(EFI_FILE_INFO);
+ UINTN buffersize = sizeof(EFI_FILE_INFO);
device = li->DeviceHandle;