diff src/gui_w48.c @ 5722:7e826028d399 v7.4.206

updated for version 7.4.206 Problem: Compiler warnings on 64 bit Windows. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Wed, 19 Mar 2014 12:37:22 +0100
parents 22d7af9ff3e5
children 50dbef5e774a
line wrap: on
line diff
--- a/src/gui_w48.c
+++ b/src/gui_w48.c
@@ -3078,7 +3078,7 @@ logfont2name(LOGFONT lf)
     if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
     {
 	int	len;
-	acp_to_enc(lf.lfFaceName, strlen(lf.lfFaceName),
+	acp_to_enc(lf.lfFaceName, (int)strlen(lf.lfFaceName),
 						(char_u **)&font_name, &len);
     }
 #endif