2 Subject: patch 7.1.080 (extra)
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 for using "const char *" for "char *".
12 Solution: Add type casts. (Chris Sutcliffe)
13 Files: src/GvimExt/gvimext.cpp
16 *** ../vim-7.1.079/src/GvimExt/gvimext.cpp Thu May 10 21:09:38 2007
17 --- src/GvimExt/gvimext.cpp Thu Aug 16 21:25:56 2007
21 // Registry didn't work, use the search path.
23 ! strcpy(name, searchpath("gvim.exe"));
27 // Only when looking for the executable, not the runtime dir, we can
28 // search for the batch file or a name without a path.
30 ! strcpy(name, searchpath("gvim.bat"));
32 strcpy(name, "gvim"); // finds gvim.bat or gvim.exe
36 // Registry didn't work, use the search path.
38 ! strcpy(name, searchpath((char *)"gvim.exe"));
42 // Only when looking for the executable, not the runtime dir, we can
43 // search for the batch file or a name without a path.
45 ! strcpy(name, searchpath((char *)"gvim.bat"));
47 strcpy(name, "gvim"); // finds gvim.bat or gvim.exe
54 ! {"gettext", (FARPROC*)&dyn_libintl_gettext},
55 ! {"textdomain", (FARPROC*)&dyn_libintl_textdomain},
56 ! {"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
64 ! {(char *)"gettext", (FARPROC*)&dyn_libintl_gettext},
65 ! {(char *)"textdomain", (FARPROC*)&dyn_libintl_textdomain},
66 ! {(char *)"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
72 (LPTSTR)location) > (HINSTANCE)32)
80 (LPTSTR)location) > (HINSTANCE)32)
87 *** ../vim-7.1.079/src/version.c Wed Aug 15 20:40:45 2007
88 --- src/version.c Sat Aug 18 16:58:36 2007
92 { /* Add new patch number below this line */
98 hundred-and-one symptoms of being an internet addict:
99 192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites.
101 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
102 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
103 \\\ download, build and distribute -- http://www.A-A-P.org ///
104 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///