1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: Warnings for type conversion.
12 Solution: Add type casts. (Mike Williams)
13 Files: src/misc2.c, src/os_win32.c
16 *** ../vim-7.3.458/src/misc2.c 2012-02-22 18:12:29.000000000 +0100
17 --- src/misc2.c 2012-02-29 13:44:17.000000000 +0100
21 new_len = gap->ga_itemsize * (gap->ga_len + n);
22 pp = (gap->ga_data == NULL)
23 ! ? alloc(new_len) : vim_realloc(gap->ga_data, new_len);
26 old_len = gap->ga_itemsize * gap->ga_maxlen;
29 new_len = gap->ga_itemsize * (gap->ga_len + n);
30 pp = (gap->ga_data == NULL)
31 ! ? alloc((unsigned)new_len) : vim_realloc(gap->ga_data, new_len);
34 old_len = gap->ga_itemsize * gap->ga_maxlen;
35 *** ../vim-7.3.458/src/os_win32.c 2012-02-22 15:34:05.000000000 +0100
36 --- src/os_win32.c 2012-02-29 13:43:39.000000000 +0100
40 unescape_shellxquote(char_u *p, char_u *escaped)
48 unescape_shellxquote(char_u *p, char_u *escaped)
50 ! int l = (int)STRLEN(p);
54 *** ../vim-7.3.458/src/version.c 2012-02-29 13:51:32.000000000 +0100
55 --- src/version.c 2012-02-29 13:58:08.000000000 +0100
59 { /* Add new patch number below this line */
65 "A clear conscience is usually the sign of a bad memory."
68 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
69 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
70 \\\ an exciting new programming language -- http://www.Zimbu.org ///
71 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///