]> git.stg.codes - stg.git/blobdiff - projects/stargazer/traffcounter_impl.cpp
Shut up compiler
[stg.git] / projects / stargazer / traffcounter_impl.cpp
index 31063523291d075989381e769cf301391ea3b900..f39f12480d78353f1b85ac6c1288a28da256d73f 100644 (file)
@@ -899,7 +899,7 @@ switch (rule.proto)
         printf("ALL     ");
         break;
     }
         printf("ALL     ");
         break;
     }
-printf("dir=%d \n", static_cast<unsigned>(rule.dir));
+printf("dir=%u \n", static_cast<unsigned>(rule.dir));
 }
 //-----------------------------------------------------------------------------
 void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir)
 }
 //-----------------------------------------------------------------------------
 void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir)