diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-07-24 18:51:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-07-24 18:51:11 +0000 |
commit | e6a91fd99467f5259d675047760088efcbaf050e (patch) | |
tree | 8069170910a43a284f0b472553994a7edf89a075 /src/gui_w48.c | |
parent | 7693ec6e8a32787136081a66e0c6e4a620369173 (diff) |
updated for version 7.2b-019v7.2b.019
Diffstat (limited to 'src/gui_w48.c')
-rw-r--r-- | src/gui_w48.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui_w48.c b/src/gui_w48.c index b391a0dca9..8b96f2b9cc 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c @@ -3154,12 +3154,12 @@ mch_set_mouse_shape(int shape) idc = MAKEINTRESOURCE(IDC_ARROW); else idc = mshape_idcs[shape]; -#ifdef _WIN64 - SetClassLongPtr(s_textArea, GCLP_HCURSOR, (LONG_PTR)LoadCursor(NULL, idc)); +#ifdef SetClassLongPtr + SetClassLongPtr(s_textArea, GCLP_HCURSOR, (__int3264)(LONG_PTR)LoadCursor(NULL, idc)); #else # ifdef WIN32 - SetClassLong(s_textArea, GCL_HCURSOR, (LONG)LoadCursor(NULL, idc)); -# else + SetClassLong(s_textArea, GCL_HCURSOR, (long_u)LoadCursor(NULL, idc)); +# else /* Win16 */ SetClassWord(s_textArea, GCW_HCURSOR, (WORD)LoadCursor(NULL, idc)); # endif #endif |