diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-15 14:13:08 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-15 14:13:08 +0000 |
commit | f4a730ffc561afc55937601bbb805f071a66d010 (patch) | |
tree | 11dfc4934901c8e07208c5ad2491ee20bedc09e1 /TAO | |
parent | af5e79a21d01d52650086d87e792a7b9a05b684b (diff) | |
download | ATCD-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.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Sched/DynSched.cpp | 8 |
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) |