X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=fs%2Flocalfs.c;h=7f09ab16a316ad592c74e80cfceaac13a0047e5c;hb=refs%2Ftags%2Fupstream%2F3.14;hp=fe1333fee764160bdb28f61b43aaef29087325b0;hpb=90dc485b21e0c6b3417e22e86f637f45e62748f2;p=debian%2Felilo diff --git a/fs/localfs.c b/fs/localfs.c index fe1333f..7f09ab1 100644 --- a/fs/localfs.c +++ b/fs/localfs.c @@ -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); }