From fbe12b79aef4c2706e90078cc75b94dcf7926ba8 Mon Sep 17 00:00:00 2001 From: ydong10 Date: Mon, 18 Oct 2010 11:33:26 +0000 Subject: Refine code to make code run more safely. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10955 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/EbcDxe/EbcInt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdeModulePkg/Universal/EbcDxe/EbcInt.c') diff --git a/MdeModulePkg/Universal/EbcDxe/EbcInt.c b/MdeModulePkg/Universal/EbcDxe/EbcInt.c index dddfd58566..e94ed8e6c3 100644 --- a/MdeModulePkg/Universal/EbcDxe/EbcInt.c +++ b/MdeModulePkg/Universal/EbcDxe/EbcInt.c @@ -747,7 +747,7 @@ EbcDebugSignalException ( // Save the exception in the context passed in // VmPtr->ExceptionFlags |= ExceptionFlags; - VmPtr->LastException = ExceptionType; + VmPtr->LastException = (UINTN) ExceptionType; // // If it's a fatal exception, then flag it in the VM context in case an // attached debugger tries to return from it. -- cgit v1.2.3