Mercurial > ecos
changeset 2911:7a3b9a2f019b
* doc/kernel.sgml: Use "reinterpret_cast" throughout the C++ thread
entry point example. [ Bugzilla 1000550 ]
| author | jld |
|---|---|
| date | Mon, 24 Aug 2009 11:37:04 +0000 |
| parents | 9e1cb7863bef |
| children | 3fa8710867ea |
| files | packages/kernel/current/ChangeLog packages/kernel/current/doc/kernel.sgml |
| diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog +++ b/packages/kernel/current/ChangeLog @@ -1,3 +1,8 @@ +2009-08-24 John Dallaway <john@dallaway.org.uk> + + * doc/kernel.sgml: Use "reinterpret_cast" throughout the C++ thread + entry point example. [ Bugzilla 1000550 ] + 2009-05-14 John Dallaway <john@dallaway.org.uk> * src/common/thread.cxx: Use the Cyg_Scheduler::get_current_thread()
--- a/packages/kernel/current/doc/kernel.sgml +++ b/packages/kernel/current/doc/kernel.sgml @@ -9,7 +9,7 @@ <!-- =============================================================== --> <!-- ####ECOSDOCCOPYRIGHTBEGIN#### --> <!-- =============================================================== --> -<!-- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. --> +<!-- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc. --> <!-- This material may be distributed only subject to the terms --> <!-- and conditions set forth in the Open Publication License, v1.0 --> <!-- or later (the latest version is presently available at --> @@ -1230,7 +1230,7 @@ class fred { void fred::static_thread_aux(cyg_addrword_t objptr) { - fred* object = static_cast<fred*>(objptr); + fred* object = reinterpret_cast<fred*>(objptr); object->thread_function(); }
