Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1316)

Unified Diff: remoting/host/disconnect_window_win.cc

Issue 12225111: Make remoting_unittests build on Win64 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/remoting.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/disconnect_window_win.cc
===================================================================
--- remoting/host/disconnect_window_win.cc (revision 181635)
+++ remoting/host/disconnect_window_win.cc (working copy)
@@ -47,8 +47,8 @@
virtual void Hide() OVERRIDE;
private:
- static BOOL CALLBACK DialogProc(HWND hwnd, UINT message, WPARAM wparam,
- LPARAM lparam);
+ static INT_PTR CALLBACK DialogProc(HWND hwnd, UINT message, WPARAM wparam,
+ LPARAM lparam);
BOOL OnDialogMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -122,8 +122,8 @@
EndDialog();
}
-BOOL CALLBACK DisconnectWindowWin::DialogProc(HWND hwnd, UINT message,
- WPARAM wparam, LPARAM lparam) {
+INT_PTR CALLBACK DisconnectWindowWin::DialogProc(HWND hwnd, UINT message,
+ WPARAM wparam, LPARAM lparam) {
LONG_PTR self = NULL;
if (message == WM_INITDIALOG) {
self = lparam;
@@ -189,7 +189,7 @@
// Let the window be draggable by its client area by responding
// that the entire window is the title bar.
case WM_NCHITTEST:
- SetWindowLong(hwnd, DWL_MSGRESULT, HTCAPTION);
+ SetWindowLongPtr(hwnd, DWLP_MSGRESULT, HTCAPTION);
return TRUE;
case WM_PAINT: {
« no previous file with comments | « no previous file | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698