summaryrefslogtreecommitdiff
path: root/mysys/default.c
diff options
context:
space:
mode:
authorreggie@monster. <>2005-06-06 11:34:52 -0500
committerreggie@monster. <>2005-06-06 11:34:52 -0500
commit4283fdb170cf66a6b55cfa1bea057fac8707fe2a (patch)
tree7fe15c14e9a6363110d49c2354c0b202ab80c4ce /mysys/default.c
parent9bbad19dd4c0a10e5c07ae98ba63e37bbd402fa0 (diff)
downloadmariadb-git-4283fdb170cf66a6b55cfa1bea057fac8707fe2a.tar.gz
fixes for compiler warnings from VC6
Diffstat (limited to 'mysys/default.c')
-rw-r--r--mysys/default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/default.c b/mysys/default.c
index e28161ba7b0..ab9bdaf0ed2 100644
--- a/mysys/default.c
+++ b/mysys/default.c
@@ -850,7 +850,7 @@ static void init_default_directories()
*ptr++= "C:/";
if (GetWindowsDirectory(system_dir,sizeof(system_dir)))
- *ptr++= &system_dir;
+ *ptr++= (char*)&system_dir;
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
/* Only VC7 and up */
/* Only add shared system directory if different from default. */