]> git.stg.codes - stg.git/commitdiff
Shut up compiler
authorMaxim Mamontov <faust.madf@gmail.com>
Sun, 13 Nov 2011 20:59:06 +0000 (22:59 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sun, 13 Nov 2011 20:59:06 +0000 (22:59 +0200)
projects/stargazer/traffcounter_impl.cpp

index 31063523291d075989381e769cf301391ea3b900..f39f12480d78353f1b85ac6c1288a28da256d73f 100644 (file)
@@ -899,7 +899,7 @@ switch (rule.proto)
         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)