summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
Diffstat (limited to 'TAO')
-rw-r--r--TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp b/TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp
index cf2756483cf..ab91d3b793e 100644
--- a/TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp
+++ b/TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp
@@ -41,10 +41,10 @@ extern "C" int compare_entry_finish_times (const void *first, const void *second
return -1;
}
- Task_Entry *first_entry =
- * ACE_static_cast (Task_Entry **, first);
- Task_Entry *second_entry =
- * ACE_static_cast (Task_Entry **, second);
+ const Task_Entry *first_entry =
+ * ACE_static_cast (const Task_Entry *const *, first);
+ const Task_Entry *second_entry =
+ * ACE_static_cast (const Task_Entry *const *, second);
// sort blank entries to the end
if (! first_entry)