Commit 16d0bf56 authored by Pavel Vainerman's avatar Pavel Vainerman

(UNetExchange): [ fixed ] error: overflow in implicit constant conversion [-Werror=overflow]

-Werror=overflow --> -Woverflow
parent 2fa3736f
...@@ -278,7 +278,7 @@ AM_CONDITIONAL(HAVE_COVERAGE, test ${buildgcov} = true) ...@@ -278,7 +278,7 @@ AM_CONDITIONAL(HAVE_COVERAGE, test ${buildgcov} = true)
AM_CONDITIONAL(HAVE_TESTS, test ${buildtests} = true) AM_CONDITIONAL(HAVE_TESTS, test ${buildtests} = true)
# -Weffc++ -Wno-unused-variable -Werror # -Weffc++ -Wno-unused-variable -Werror
CXX_EXTRA_FLAGS="-Wnon-virtual-dtor -Wctor-dtor-privacy -Woverloaded-virtual -Werror=overflow" CXX_EXTRA_FLAGS="-Wnon-virtual-dtor -Wctor-dtor-privacy -Woverloaded-virtual -Woverflow"
# export # export
LDFLAGS="$LDFLAGS ${OMNI_LIBS} ${XML_LIBS} ${SIGC_LIBS} ${COV_LIBS} ${COMCPP_LIBS}" LDFLAGS="$LDFLAGS ${OMNI_LIBS} ${XML_LIBS} ${SIGC_LIBS} ${COV_LIBS} ${COMCPP_LIBS}"
......
...@@ -454,7 +454,7 @@ void UNetExchange::startReceivers() ...@@ -454,7 +454,7 @@ void UNetExchange::startReceivers()
void UNetExchange::waitSMReady() void UNetExchange::waitSMReady()
{ {
// waiting for SM is ready... // waiting for SM is ready...
int ready_timeout = uniset_conf()->getArgInt("--unet-sm-ready-timeout", "15000"); timeout_t ready_timeout = uniset_conf()->getArgInt("--unet-sm-ready-timeout", "15000");
if( ready_timeout == 0 ) if( ready_timeout == 0 )
ready_timeout = 15000; ready_timeout = 15000;
......
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