summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-15 14:13:08 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-15 14:13:08 +0000
commitf4a730ffc561afc55937601bbb805f071a66d010 (patch)
tree11dfc4934901c8e07208c5ad2491ee20bedc09e1
parentaf5e79a21d01d52650086d87e792a7b9a05b684b (diff)
downloadATCD-f4a730ffc561afc55937601bbb805f071a66d010.tar.gz
(compare_entry_finish_times): added const's to first_entry and
second_entry declarations and casts, so that ANSI static_casts will succeed.
-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)