diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-03-24 20:36:55 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2016-03-24 20:36:55 +0100 |
commit | 934ccdbef0ec5c5e9bc6d7470290b360235eb0c1 (patch) | |
tree | 3dbd3cc7d70dd060661ffb1198730cba10fa1199 /TAO/utils | |
parent | 07f85af28ac13e7dd99675bca4144eebf3ff61b9 (diff) | |
download | ATCD-934ccdbef0ec5c5e9bc6d7470290b360235eb0c1.tar.gz |
Fixed Windows64 bit conversion warnings
Diffstat (limited to 'TAO/utils')
-rw-r--r-- | TAO/utils/nslist/nslist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/utils/nslist/nslist.cpp b/TAO/utils/nslist/nslist.cpp index 97eaca12c76..a0c5a43a418 100644 --- a/TAO/utils/nslist/nslist.cpp +++ b/TAO/utils/nslist/nslist.cpp @@ -38,8 +38,8 @@ namespace const char *myTree = "|", // Default string to draw tree "tram-lines" *myNode = "+"; // Default string to draw tree node end-points - int sizeMyTree; // Initialised by main to strlen (myTree) - int sizeMyNode; // Initialised by main to strlen (myNode) + size_t sizeMyTree; // Initialised by main to strlen (myTree) + size_t sizeMyNode; // Initialised by main to strlen (myNode) int maxDepth= 0; // Limit to display depth (default unlimited) ACE_Time_Value rtt = ACE_Time_Value::zero; // relative roundtrip timeout for ctx @@ -162,7 +162,7 @@ namespace get_tag_name (tag, tag_name); ACE_DEBUG ((LM_DEBUG, "\n")); - int count; + size_t count; for (count= 0; count < level; ++count) ACE_DEBUG ((LM_DEBUG, "%C ", myTree)); for (count= 0; count < sizeMyNode; ++count) @@ -249,7 +249,7 @@ namespace for (count= 0; count < (level - backwards); ++count) ACE_DEBUG ((LM_DEBUG, "%C ", myTree)); ACE_DEBUG ((LM_DEBUG, "^")); - int chars; + size_t chars; while (++count < level) for (chars= 0; chars <= sizeMyTree; ++chars) ACE_DEBUG ((LM_DEBUG, "-")); |