summaryrefslogtreecommitdiff
path: root/TAO/utils
diff options
context:
space:
mode:
authorstanleyk <stanleyk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-08 20:29:07 +0000
committerstanleyk <stanleyk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-03-08 20:29:07 +0000
commitb72089ac366e87f8ca0c22f3dcc640015afd8142 (patch)
tree3d7e31e7c36851ed26d69d16b56549370b5529ca /TAO/utils
parenta6c1c960035a831f3b1bf565d49d2cfa5f81e8b5 (diff)
downloadATCD-b72089ac366e87f8ca0c22f3dcc640015afd8142.tar.gz
Fix warnings related to size_t
Diffstat (limited to 'TAO/utils')
-rw-r--r--TAO/utils/logWalker/Invocation.cpp8
-rw-r--r--TAO/utils/logWalker/Invocation.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/utils/logWalker/Invocation.cpp b/TAO/utils/logWalker/Invocation.cpp
index c3caa419926..a7a67bf03d8 100644
--- a/TAO/utils/logWalker/Invocation.cpp
+++ b/TAO/utils/logWalker/Invocation.cpp
@@ -217,7 +217,7 @@ Invocation::new_line (ostream &strm, int indent, int offset, bool add_nl, bool s
void
Invocation::dump_detail (ostream &strm,
- int indent,
+ size_t indent,
Dump_Mode mode,
bool show_handle)
{
@@ -295,7 +295,7 @@ Invocation::dump_detail (ostream &strm,
#if defined (SHOW_THREAD_ID)
strm << " " << this->repl_octets_->thread()->alias();
#endif
- char rstat = this->repl_octets_->reply_status();
+ size_t rstat = this->repl_octets_->reply_status();
if (rstat == 1 || rstat == 2)
{
strm << (rstat == 1 ? " User" : " System") << " Exception";
@@ -326,9 +326,9 @@ Invocation::dump_detail (ostream &strm,
}
void
-Invocation::dump_special_details (ostream &strm, int indent, const char *opname)
+Invocation::dump_special_details (ostream &strm, size_t indent, const char *opname)
{
- char rstat = 0;
+ size_t rstat = 0;
if (this->repl_octets_ != 0 && this->repl_octets_->has_octets())
rstat = this->repl_octets_->reply_status();
int opid = 0;
diff --git a/TAO/utils/logWalker/Invocation.h b/TAO/utils/logWalker/Invocation.h
index fded26d735f..dae1e15c823 100644
--- a/TAO/utils/logWalker/Invocation.h
+++ b/TAO/utils/logWalker/Invocation.h
@@ -82,8 +82,8 @@ public:
long handle (void) const;
void new_line (ostream &strm, int indent, int offset, bool add_nl, bool show_indent);
- void dump_detail (ostream &strm, int indent, Dump_Mode mode, bool show_handle);
- void dump_special_details (ostream &strm, int indent, const char *opname);
+ void dump_detail (ostream &strm, size_t indent, Dump_Mode mode, bool show_handle);
+ void dump_special_details (ostream &strm, size_t indent, const char *opname);
private:
GIOP_Buffer *req_octets_;