summaryrefslogtreecommitdiff
path: root/sql/nt_servc.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-02-28 12:57:33 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-02-28 12:57:33 +0000
commitd4baeca441b248de024719f556b681ce868501ae (patch)
tree611cfb341c9734bc85aa4a3f2de6322fc9b4c1cb /sql/nt_servc.cc
parentfc673a2c121f524a7ed4101b8b9a0cedf8d6fd58 (diff)
downloadmariadb-git-d4baeca441b248de024719f556b681ce868501ae.tar.gz
Windows : Fix server compile errors when compile with /Zc:strictStrings option
Diffstat (limited to 'sql/nt_servc.cc')
-rw-r--r--sql/nt_servc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/nt_servc.cc b/sql/nt_servc.cc
index d6a8eac7ed5..e05e43a0a59 100644
--- a/sql/nt_servc.cc
+++ b/sql/nt_servc.cc
@@ -508,7 +508,7 @@ BOOL NTService::IsService(LPCSTR ServiceName)
}
/* ------------------------------------------------------------------------
-------------------------------------------------------------------------- */
-BOOL NTService::got_service_option(char **argv, char *service_option)
+BOOL NTService::got_service_option(char **argv, const char *service_option)
{
char *option;
for (option= argv[1]; *option; option++)