summaryrefslogtreecommitdiff
path: root/src/GvimExt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-08-18 15:00:42 +0000
committerBram Moolenaar <Bram@vim.org>2007-08-18 15:00:42 +0000
commit7baa45dbbfd22f15db7c312d2fef40d1d3c9a92a (patch)
tree54cb484ecf77407f3eadf237c5c8a364b83fb1f1 /src/GvimExt
parentdeefb63bfbf7bba981e82853638f9ab98d947d80 (diff)
downloadvim-git-7baa45dbbfd22f15db7c312d2fef40d1d3c9a92a.tar.gz
updated for version 7.1-080v7.1.080
Diffstat (limited to 'src/GvimExt')
-rw-r--r--src/GvimExt/gvimext.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/GvimExt/gvimext.cpp b/src/GvimExt/gvimext.cpp
index a18eb0bbb..aa99164b2 100644
--- a/src/GvimExt/gvimext.cpp
+++ b/src/GvimExt/gvimext.cpp
@@ -69,14 +69,14 @@ getGvimName(char *name, int runtime)
// Registry didn't work, use the search path.
if (name[0] == 0)
- strcpy(name, searchpath("gvim.exe"));
+ strcpy(name, searchpath((char *)"gvim.exe"));
if (!runtime)
{
// Only when looking for the executable, not the runtime dir, we can
// search for the batch file or a name without a path.
if (name[0] == 0)
- strcpy(name, searchpath("gvim.bat"));
+ strcpy(name, searchpath((char *)"gvim.bat"));
if (name[0] == 0)
strcpy(name, "gvim"); // finds gvim.bat or gvim.exe
@@ -152,9 +152,9 @@ dyn_libintl_init(char *dir)
FARPROC *ptr;
} libintl_entry[] =
{
- {"gettext", (FARPROC*)&dyn_libintl_gettext},
- {"textdomain", (FARPROC*)&dyn_libintl_textdomain},
- {"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
+ {(char *)"gettext", (FARPROC*)&dyn_libintl_gettext},
+ {(char *)"textdomain", (FARPROC*)&dyn_libintl_textdomain},
+ {(char *)"bindtextdomain", (FARPROC*)&dyn_libintl_bindtextdomain},
{NULL, NULL}
};
@@ -835,7 +835,7 @@ searchpath(char *name)
(LPTSTR)location) > (HINSTANCE)32)
return location;
}
- return "";
+ return (char *)"";
}
# endif
#endif