Imported Upstream version 3.14
[debian/elilo] / fs / localfs.c
index fe1333fee764160bdb28f61b43aaef29087325b0..7f09ab16a316ad592c74e80cfceaac13a0047e5c 100644 (file)
@@ -98,7 +98,7 @@ localfs_open(localfs_interface_t *this, CHAR16 *name, UINTN *fd)
 
        DBG_PRT((L"localfs_open on %s\n", name));
 
-       status = uefi_call_wrapper(lfs->volume->Open, 5, lfs->volume, &fh, name, EFI_FILE_MODE_READ, 0);
+       status = uefi_call_wrapper(lfs->volume->Open, 5, lfs->volume, &fh, name, EFI_FILE_MODE_READ, (UINT64)0);
        if (status == EFI_SUCCESS) {
                *fd = LOCALFS_F2FD(fh);
        }