diff options
author | Nate DeSimone <nathaniel.l.desimone@intel.com> | 2023-09-29 15:16:33 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-01-05 20:32:08 +0000 |
commit | 5a2490df0e6753928a1322436a96e01ffb000f3a (patch) | |
tree | 79fa1503f4d705ad6b691daf4452f1318ea1a127 /EmulatorPkg/Win | |
parent | 3114fd8ed7ce38464572839fe295aca11d704b7d (diff) | |
download | edk2-5a2490df0e6753928a1322436a96e01ffb000f3a.tar.gz |
EmulatorPkg: Update MMTimerThread() signature
In the early 2000s as part of the x64 transition the definition
for LPTIMECALLBACK changed from (UINT, UINT, DWORD, DWORD, DWORD)
to (UINT, UINT, DWORD_PTR, DWORD_PTR, DWORD_PTR). However,
the MMTimerThread() function was never updated to the new
signature. Since the implementation does not use the last three
parameters, this issue has not been caught until now.
Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Diffstat (limited to 'EmulatorPkg/Win')
-rw-r--r-- | EmulatorPkg/Win/Host/WinThunk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/EmulatorPkg/Win/Host/WinThunk.c b/EmulatorPkg/Win/Host/WinThunk.c index e82735c6a0..0abe4727e0 100644 --- a/EmulatorPkg/Win/Host/WinThunk.c +++ b/EmulatorPkg/Win/Host/WinThunk.c @@ -264,11 +264,11 @@ volatile BOOLEAN mInterruptEnabled = FALSE; VOID
CALLBACK
MMTimerThread (
- UINT wTimerID,
- UINT msg,
- DWORD dwUser,
- DWORD dw1,
- DWORD dw2
+ UINT wTimerID,
+ UINT msg,
+ DWORD_PTR dwUser,
+ DWORD_PTR dw1,
+ DWORD_PTR dw2
)
{
UINT32 CurrentTick;
|