summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-10-31 14:51:39 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-10-31 14:51:39 +0000
commit06e4ad40f1b0d57ebed636304a5a4cb00d554751 (patch)
treef1dd1f7728f84979619d2595337492baa65f1596
parent4f9ab2ce6a92ea9fa106330b998c24e21e21843c (diff)
downloadATCD-06e4ad40f1b0d57ebed636304a5a4cb00d554751.tar.gz
ChangeLogTag:Fri Oct 31 08:50:00 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r--TAO/ChangeLog10
-rw-r--r--TAO/TAO_IDL/ast/ast_string.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp2
-rw-r--r--TAO/TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp2
5 files changed, 14 insertions, 4 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index c0aee75a76b..5eb78392814 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,13 @@
+Fri Oct 31 08:50:00 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
+
+ * TAO_IDL/ast/ast_string.cpp:
+ * TAO_IDL/be/be_visitor_array/array_ci.cpp:
+ * TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp:
+ * TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp:
+
+ Fixes for warnings in minimum static builds. The warnings were
+ due to wrong format specifiers in sprintf.
+
Fri Oct 31 07:59:13 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* examples/Buffered_Oneways/Makefile:
diff --git a/TAO/TAO_IDL/ast/ast_string.cpp b/TAO/TAO_IDL/ast/ast_string.cpp
index 064e755e65f..04152fa4921 100644
--- a/TAO/TAO_IDL/ast/ast_string.cpp
+++ b/TAO/TAO_IDL/ast/ast_string.cpp
@@ -145,7 +145,7 @@ AST_String::AST_String (AST_Decl::NodeType nt,
if (bound)
{
ACE_OS::sprintf (boundbuf,
- "_%u",
+ "_%ld",
bound);
}
diff --git a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
index 8f1a98341a9..df5322b9614 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/array_ci.cpp
@@ -180,7 +180,7 @@ int be_visitor_array_ci::visit_array (be_array *node)
'\0',
NAMEBUFSIZE);
ACE_OS::sprintf (buf,
- "_%d",
+ "_%ld",
node->dims ()[i]->ev ()->u.ulval);
unique += buf;
}
diff --git a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
index 6c0b5533d49..b977aa4b8e1 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/cdr_op_ci.cpp
@@ -96,7 +96,7 @@ be_visitor_array_cdr_op_ci::visit_array (be_array *node)
'\0',
NAMEBUFSIZE);
ACE_OS::sprintf (buf,
- "_%d",
+ "_%ld",
node->dims ()[i]->ev ()->u.ulval);
unique += buf;
}
diff --git a/TAO/TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp b/TAO/TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp
index 067ae6c1e98..b09fa3d0ecb 100644
--- a/TAO/TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_tmplinst/tmplinst_cs.cpp
@@ -1153,7 +1153,7 @@ be_visitor_tmplinst_cs::gen_base_class_tmplinst (be_sequence *node)
else
{
ACE_OS::sprintf (ifdef_suffix,
- "%d_%s",
+ "%ld_%s",
node->max_size ()->ev ()->u.ulval,
"explicit");
}