File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
examples/connext_dds/distributed_logger/c++11 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ void distlogger_example_main(
2424 const string application_kind,
2525 const int domain_id,
2626 const int sleep,
27- const uint iterations)
27+ const unsigned int iterations)
2828{
2929 // First, create the options to personalize Distributed Logger.
3030 // If no options are provided, default ones will be created.
@@ -45,7 +45,7 @@ void distlogger_example_main(
4545 // The log messages are published as DDS topics, which allows your DDS
4646 // applications to subscribe to them. You can also run rtiddsspy or
4747 // RTI Admin Console to visualize the logs.
48- for (uint i = 1 ; i <= iterations; ++i) {
48+ for (unsigned int i = 1 ; i <= iterations; ++i) {
4949 cout << " \n Iteration #" << i << endl;
5050
5151 dist_logger.debug (" This is a debug message" );
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
6767
6868 int domain_id = 0 ;
6969 int sleep = 1 ;
70- uint iterations = 50 ;
70+ unsigned int iterations = 50 ;
7171
7272 for (int i = 1 ; i < argc;) {
7373 const string ¶m = argv[i++];
You can’t perform that action at this time.
0 commit comments