]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.
[mirror_edk2.git] / Nt32Pkg / Library / PeiNt32OemHookStatusCodeLib / Nt32OemHookStatusCodeLib.c
index 882d1c4f4f8d4a1980f6c48909449426acacd3af..4e37683400c08fe2fd8707ef2a44d2cbf82b5a7a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   OEM hook status code library functions with no library constructor/destructor\r
 \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -154,7 +154,7 @@ OemHookStatusCodeReport (
     mWinNt->WriteFile (\r
               mStdOut,\r
               Buffer,\r
-              CharCount,\r
+              (DWORD)CharCount,\r
               (LPDWORD)&CharCount,\r
               NULL\r
               );\r
@@ -237,7 +237,7 @@ OemHookStatusCodeReport (
   mWinNt->WriteFile (\r
             mStdOut,\r
             Buffer,\r
-            CharCount,\r
+            (DWORD)CharCount,\r
             (LPDWORD)&CharCount,\r
             NULL\r
             );\r