summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-11-30 11:30:44 -0500
committerNat Goodspeed <nat@lindenlab.com>2016-11-30 11:30:44 -0500
commite61320921a92a367c67aea7ecba0078e8e36f267 (patch)
treea0342c339cd3fc6fac1fa2a3847d7fbd98cc6d63 /indra
parent05fb9468d06e58d4973ec1c3859afa4b3dcad69a (diff)
DRTVWR-418: Update forwarding_api.cpp to match current API signature
Specifically, DriverCallback() was accepting several DWORD arguments that should really be DWORD_PTR arguments. In a 32-bit compile, evidently that was okay, but for 64 bits they're different sizes.
Diffstat (limited to 'indra')
-rw-r--r--indra/media_plugins/winmmshim/forwarding_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/winmmshim/forwarding_api.cpp b/indra/media_plugins/winmmshim/forwarding_api.cpp
index 33f0675028..c558062bd9 100644
--- a/indra/media_plugins/winmmshim/forwarding_api.cpp
+++ b/indra/media_plugins/winmmshim/forwarding_api.cpp
@@ -429,7 +429,7 @@ extern "C" {
return DefDriverProc_orig( dwDriverIdentifier, hdrvr, uMsg, lParam1, lParam2);
}
- BOOL WINAPI DriverCallback( DWORD dwCallBack, DWORD dwFlags, HDRVR hdrvr, DWORD msg, DWORD dwUser, DWORD dwParam1, DWORD dwParam2)
+ BOOL WINAPI DriverCallback( DWORD_PTR dwCallBack, DWORD dwFlags, HDRVR hdrvr, DWORD msg, DWORD_PTR dwUser, DWORD_PTR dwParam1, DWORD_PTR dwParam2)
{
ll_winmm_shim_initialize();
//OutputDebugString(L"DriverCallback\n");