diff options
Diffstat (limited to 'server-tools')
-rw-r--r-- | server-tools/instance-manager/Makefile.am | 2 | ||||
-rw-r--r-- | server-tools/instance-manager/listener.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server-tools/instance-manager/Makefile.am b/server-tools/instance-manager/Makefile.am index 02f09ae5236..2d2365caa44 100644 --- a/server-tools/instance-manager/Makefile.am +++ b/server-tools/instance-manager/Makefile.am @@ -61,7 +61,7 @@ client_settings.h: libexec_PROGRAMS= mysqlmanager -mysqlmanager_CXXFLAGS= -Wall -Wextra -Werror +mysqlmanager_CXXFLAGS= -Wall -W mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \ manager.h manager.cc log.h log.cc \ diff --git a/server-tools/instance-manager/listener.cc b/server-tools/instance-manager/listener.cc index d5271175e9c..d77bd687acf 100644 --- a/server-tools/instance-manager/listener.cc +++ b/server-tools/instance-manager/listener.cc @@ -208,7 +208,7 @@ int Listener::create_tcp_socket() { im_bind_addr= (ulong) inet_addr(Options::Main::bind_address); - if (im_bind_addr == INADDR_NONE) + if (im_bind_addr == (ulong) INADDR_NONE) im_bind_addr= htonl(INADDR_ANY); } else |