summaryrefslogtreecommitdiff
path: root/TAO/tao/skip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/skip.cpp')
-rw-r--r--TAO/tao/skip.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/skip.cpp b/TAO/tao/skip.cpp
index d03d699851c..3154464c619 100644
--- a/TAO/tao/skip.cpp
+++ b/TAO/tao/skip.cpp
@@ -429,7 +429,8 @@ TAO_Marshal_Union::skip (CORBA::TypeCode_ptr tc,
if (env.exception () == 0)
{
// do the matching
- switch (member_label->type ()->kind (env))
+ CORBA::TypeCode_var type = member_label->type ();
+ switch (type->kind (env))
{
case CORBA::tk_short:
{