4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Compiler warnings on VMS. (Zoltan Arpadffy)
12 Solution: Pass array itself instead its address. Return a value.
13 Files: src/gui_gtk_x11.c, src/os_unix.c
16 *** ../vim-7.2.357/src/gui_gtk_x11.c 2009-11-03 18:13:36.000000000 +0100
17 --- src/gui_gtk_x11.c 2010-02-11 18:00:28.000000000 +0100
22 /* TODO: use the composing characters */
23 ! c = utfc_ptr2char_len(p, &pcc, len - (p - s));
24 if (c >= 0x10000) /* show chars > 0xffff as ? */
26 buf[textlen].byte1 = c >> 8;
30 /* TODO: use the composing characters */
31 ! c = utfc_ptr2char_len(p, pcc, len - (p - s));
32 if (c >= 0x10000) /* show chars > 0xffff as ? */
34 buf[textlen].byte1 = c >> 8;
35 *** ../vim-7.2.357/src/os_unix.c 2009-07-22 13:27:50.000000000 +0200
36 --- src/os_unix.c 2010-02-11 18:10:20.000000000 +0100
41 /* This function should not return, it causes exit(). Longjump instead. */
42 LONGJMP(lc_jump_env, 1);
44 + return 0; /* avoid the compiler complains about missing return value */
53 /* This function should not return, it causes exit(). Longjump instead. */
54 LONGJMP(x_jump_env, 1);
56 + return 0; /* avoid the compiler complains about missing return value */
61 *** ../vim-7.2.357/src/version.c 2010-02-11 17:02:04.000000000 +0100
62 --- src/version.c 2010-02-11 18:10:45.000000000 +0100
66 { /* Add new patch number below this line */
72 hundred-and-one symptoms of being an internet addict:
73 221. Your wife melts your keyboard in the oven.
75 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
76 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
77 \\\ download, build and distribute -- http://www.A-A-P.org ///
78 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///