summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-27 22:41:43 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-27 22:41:43 +0200
commit8765a4ac3a9dfb994ad7051183353ead25cfbb64 (patch)
tree92b7309028f41799a44ef42512802188b4470a07 /src/os_mswin.c
parent3b95389d45bacf90f4ef04a7a7726e5ddc29027a (diff)
downloadvim-git-8765a4ac3a9dfb994ad7051183353ead25cfbb64.tar.gz
Fix build warnings and problems for tiny/small Win32 build. (Mike Williams)
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 6b7e896cb..6ee6379e1 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -2548,7 +2548,7 @@ serverSendEnc(HWND target)
data.cbData = (DWORD)STRLEN(p_enc) + 1;
data.lpData = p_enc;
#else
- data.cbData = STRLEN("latin1") + 1;
+ data.cbData = (DWORD)STRLEN("latin1") + 1;
data.lpData = "latin1";
#endif
(void)SendMessage(target, WM_COPYDATA, (WPARAM)message_window,