summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowwin32.cpp
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2017-03-27 10:59:19 -0700
committerCallum Prentice <callum@gmail.com>2017-03-27 10:59:19 -0700
commit09003cf4055fc336cf12e075636f1dfe8ce035d2 (patch)
treefd8ea0399fb85ea9b980c8e59c3a8a8d540a686a /indra/llwindow/llwindowwin32.cpp
parent71ffed27c77e787cafe04ddf19df27495255cae5 (diff)
Fix for MAINT-7054 Viewer Crashed when I used Japanese IM.
Diffstat (limited to 'indra/llwindow/llwindowwin32.cpp')
-rw-r--r--indra/llwindow/llwindowwin32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp
index 301ae7f9c4..47441db669 100644
--- a/indra/llwindow/llwindowwin32.cpp
+++ b/indra/llwindow/llwindowwin32.cpp
@@ -2201,7 +2201,7 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_
if (LLWinImm::isAvailable() && window_imp->mPreeditor)
{
LRESULT result = 0;
- if (window_imp->handleImeRequests(w_param, l_param, &result))
+ if (window_imp->handleImeRequests(w_param, (LONG_PTR)l_param, &result))
{
return result;
}
@@ -3800,7 +3800,7 @@ LLWindowCallbacks::DragNDropResult LLWindowWin32::completeDragNDropRequest( cons
// When it handled the message, the value to be returned from
// the Window Procedure is set to *result.
-BOOL LLWindowWin32::handleImeRequests(U32 request, U32 param, LRESULT *result)
+BOOL LLWindowWin32::handleImeRequests(U32 request, LONG_PTR param, LRESULT *result)
{
if ( mPreeditor )
{