Polishing: eliminate warnings.

parent d2248d97
...@@ -61,7 +61,7 @@ client_settings.h: ...@@ -61,7 +61,7 @@ client_settings.h:
libexec_PROGRAMS= mysqlmanager libexec_PROGRAMS= mysqlmanager
mysqlmanager_CXXFLAGS= -Wall -Wextra -Werror mysqlmanager_CXXFLAGS= -Wall -W
mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \ mysqlmanager_SOURCES= command.cc command.h mysqlmanager.cc \
manager.h manager.cc log.h log.cc \ manager.h manager.cc log.h log.cc \
......
...@@ -213,7 +213,7 @@ int Listener::create_tcp_socket() ...@@ -213,7 +213,7 @@ int Listener::create_tcp_socket()
{ {
im_bind_addr= (ulong) inet_addr(Options::Main::bind_address); 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); im_bind_addr= htonl(INADDR_ANY);
} }
else 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