From 4283fdb170cf66a6b55cfa1bea057fac8707fe2a Mon Sep 17 00:00:00 2001 From: "reggie@monster." <> Date: Mon, 6 Jun 2005 11:34:52 -0500 Subject: fixes for compiler warnings from VC6 --- mysys/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysys/default.c') 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. */ -- cgit v1.2.1