4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Compiler warnings with various Amiga compilers.
12 Solution: Add typecast, prototypes, et al. that are also useful for other
13 systems. (Flavio Stanchina)
14 Files: src/eval.c, src/ops.c
17 *** ../vim-6.2.108/src/eval.c Sat Sep 27 19:36:46 2003
18 --- src/eval.c Wed Sep 17 21:53:22 2003
21 sprintf((char *)IObuff, ":return \"%s\"",
22 ((VAR)retvar)->var_val.var_string);
24 ! sprintf((char *)IObuff, ":return %d",
25 ! ((VAR)retvar)->var_val.var_number);
26 return vim_strsave(s);
30 sprintf((char *)IObuff, ":return \"%s\"",
31 ((VAR)retvar)->var_val.var_string);
33 ! sprintf((char *)IObuff, ":return %ld",
34 ! (long)(((VAR)retvar)->var_val.var_number));
35 return vim_strsave(s);
38 *** ../vim-6.2.108/src/ops.c Sat Sep 27 19:36:47 2003
39 --- src/ops.c Wed Sep 17 21:59:01 2003
44 char_u *s = ml_get(lnum);
46 ! return (*s != NUL && vim_iswhite(s[STRLEN(s) - 1]));
53 char_u *s = ml_get(lnum);
58 ! /* Don't use STRLEN() inside vim_iswhite(), SAS/C complains: "macro
59 ! * invocation may call function multiple times". */
61 ! return vim_iswhite(s[l]);
65 *** ../vim-6.2.108/src/version.c Sun Oct 12 16:52:45 2003
66 --- src/version.c Sun Oct 12 16:55:21 2003
70 { /* Add new patch number below this line */
76 The CIA drives around in cars with the "Intel inside" logo.
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
80 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
81 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///