UltraMonkey-L7 V3(multi-thread implementation)
Revisão | e429cb7c26f7ebe72f3a8dd6d6ac4cbb1c8fb450 (tree) |
---|---|
Hora | 2016-05-09 15:25:55 |
Autor | Shinya TAKEBAYASHI <omoikanenomikoto@gmai...> |
Commiter | Shinya TAKEBAYASHI |
Improvement to compilation warning about indication of SIGNUM.
@@ -1341,7 +1341,7 @@ int l7vsd::run(int argc, char *argv[]) | ||
1341 | 1341 | for (;;) { |
1342 | 1342 | if (unlikely(exit_requested)) { |
1343 | 1343 | std::stringstream buf; |
1344 | - buf << boost::format("l7vsd signal(%d) received. exiting...") % received_sig; | |
1344 | + buf << boost::format("l7vsd signal(%d) received. exiting...") % reinterpret_cast<int>(received_sig); | |
1345 | 1345 | logger.putLogInfo(LOG_CAT_L7VSD_MAINTHREAD, 1, buf.str(), __FILE__, __LINE__); |
1346 | 1346 | break; |
1347 | 1347 | } |