summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-07-24 18:51:11 +0000
committerBram Moolenaar <Bram@vim.org>2008-07-24 18:51:11 +0000
commite6a91fd99467f5259d675047760088efcbaf050e (patch)
tree8069170910a43a284f0b472553994a7edf89a075 /src/os_mswin.c
parent7693ec6e8a32787136081a66e0c6e4a620369173 (diff)
downloadvim-git-e6a91fd99467f5259d675047760088efcbaf050e.tar.gz
updated for version 7.2b-019v7.2b.019
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 618fc80db..d4a186d18 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -1729,7 +1729,7 @@ swap_me(COLORREF colorref)
}
/*ARGSUSED*/
- static BOOL CALLBACK
+ static INT_PTR CALLBACK
PrintDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
#ifdef FEAT_GETTEXT
@@ -2125,8 +2125,8 @@ mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
char_u *port_name = (char_u *)devname +devname->wOutputOffset;
char_u *text = _("to %s on %s");
- prt_name = alloc(STRLEN(printer_name) + STRLEN(port_name)
- + STRLEN(text));
+ prt_name = alloc((unsigned)(STRLEN(printer_name) + STRLEN(port_name)
+ + STRLEN(text)));
if (prt_name != NULL)
wsprintf(prt_name, text, printer_name, port_name);
}