summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_array.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_array.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_array.cpp b/TAO/TAO_IDL/be/be_array.cpp
index 3d299062f36..dac2ad3fc56 100644
--- a/TAO/TAO_IDL/be/be_array.cpp
+++ b/TAO/TAO_IDL/be/be_array.cpp
@@ -100,7 +100,7 @@ be_array::tao_name (void)
}
char buf[16];
- ACE_OS::sprintf (buf, "_%4.4x", ((int) expr->ev ()->u.ulval));
+ ACE_OS::sprintf (buf, "_%04.4x", ((int)expr->ev ()->u.ulval));
ACE_OS::strcat (this->tao_name_, buf);
}
return this->tao_name_;
@@ -232,7 +232,6 @@ be_array::compute_size_type (void)
// our size type is the same as our type
this->size_type (type->size_type ());
-
return 0;
}