summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHaydn Trigg <me@haydntrigg.com>2021-02-21 12:38:32 +0100
committerwithmorten <morten.with@gmail.com>2021-02-21 17:15:21 +0100
commitd506f8588c759548f9e5d120c3d549af5cdfe66b (patch)
tree96860ade39ce117cbfebde77f3e53b6f34b6551b /src
parentFix Radio Off text more (diff)
downloadre3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar.gz
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar.bz2
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar.lz
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar.xz
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.tar.zst
re3-d506f8588c759548f9e5d120c3d549af5cdfe66b.zip
Diffstat (limited to 'src')
-rw-r--r--src/skel/win/win.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 21bd0eb0..acaea28d 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -915,14 +915,14 @@ void WaitForState(FILTER_STATE State)
*/
void HandleGraphEvent(void)
{
- LONG evCode, evParam1, evParam2;
+ LONG evCode;
+ LONG_PTR evParam1, evParam2;
HRESULT hr=S_OK;
ASSERT(pME != nil);
// Process all queued events
- while (SUCCEEDED(pME->GetEvent(&evCode, (LONG_PTR *)&evParam1,
- (LONG_PTR *)&evParam2, 0)))
+ while (SUCCEEDED(pME->GetEvent(&evCode, &evParam1, &evParam2, 0)))
{
// Free memory associated with callback, since we're not using it
hr = pME->FreeEventParams(evCode, evParam1, evParam2);