summaryrefslogtreecommitdiff
path: root/PerformancePkg/Dp_App/DpTrace.c
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-29 15:49:20 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-09-29 15:49:20 +0000
commit16d5d168328cb06d5c1435b82d0aff22a3bbab59 (patch)
treea6bf993002e05aa1359c467b050c71da802be3f7 /PerformancePkg/Dp_App/DpTrace.c
parenta41b5272cdffba5fd9c4734d4c06c8682186d822 (diff)
downloadedk2-platforms-16d5d168328cb06d5c1435b82d0aff22a3bbab59.tar.xz
PerformancePkg: Fix build with GCC
Fix compiler warnings and include filename issue. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10902 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg/Dp_App/DpTrace.c')
-rw-r--r--PerformancePkg/Dp_App/DpTrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/DpTrace.c b/PerformancePkg/Dp_App/DpTrace.c
index 77939c596e..593c269f72 100644
--- a/PerformancePkg/Dp_App/DpTrace.c
+++ b/PerformancePkg/Dp_App/DpTrace.c
@@ -568,7 +568,7 @@ ProcessPeims(
Duration = GetDuration (&Measurement);
ElapsedTime = DurationInMicroSeconds ( Duration ); // Calculate elapsed time in microseconds
if (ElapsedTime >= mInterestThreshold) {
- GetNameFromHandle (Measurement.Handle); // Name placed in mGaugeString
+ GetNameFromHandle ((EFI_HANDLE) Measurement.Handle); // Name placed in mGaugeString
PrintToken (STRING_TOKEN (STR_DP_PEIM_STAT2),
TIndex, // 1 based, Which measurement record is being printed
Measurement.Handle,