Commit 223a8db0 authored by unknown's avatar unknown

Polishing: eliminate warnings.


server-tools/instance-manager/Makefile.am:
  - replace -Wextra by -W for old compilers;
  - remove -Werror
server-tools/instance-manager/listener.cc:
  Use explicit cast to eliminate warning on Solaris.
parent 08df0556
......@@ -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 \
......
......@@ -213,7 +213,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment