From f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87 Mon Sep 17 00:00:00 2001 From: Jiamin Ma Date: Sat, 12 Oct 2013 06:31:55 +0000 Subject: We enabled X64 native version NT32, and made it works on Windows 7 X64 OS. Signed-off-by: Jiamin Ma Reviewed by: Ruiyu Ni Reviewed by: Liming Gao Reviewed by: Jiewen Yao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14766 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Nt32Pkg/WinNtSimpleFileSystemDxe') diff --git a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c index 63ab71fb2b..1c300b6930 100644 --- a/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c +++ b/Nt32Pkg/WinNtSimpleFileSystemDxe/WinNtSimpleFileSystem.c @@ -1,6 +1,6 @@ /**@file -Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -1593,7 +1593,7 @@ Returns: Status = PrivateFile->WinNtThunk->ReadFile ( PrivateFile->LHandle, Buffer, - *BufferSize, + (DWORD)*BufferSize, (LPDWORD)BufferSize, NULL ) ? EFI_SUCCESS : EFI_DEVICE_ERROR; @@ -1764,7 +1764,7 @@ Returns: Status = PrivateFile->WinNtThunk->WriteFile ( PrivateFile->LHandle, Buffer, - *BufferSize, + (DWORD)*BufferSize, (LPDWORD)BufferSize, NULL ) ? EFI_SUCCESS : EFI_DEVICE_ERROR; -- cgit v1.2.3