changeset 2273:4a81fad4d2b4

* doc/kernel.sgml: Use reinterpret_cast, not static cast Thanks to Tony Garland for the report in bug 1000299.
author jlarmour
date Mon, 21 Aug 2006 17:13:45 +0000
parents e5c118746536
children 16ea61a1d5d4
files packages/kernel/current/ChangeLog packages/kernel/current/doc/kernel.sgml
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-21  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* doc/kernel.sgml: Use reinterpret_cast, not static cast
+	Thanks to Tony Garland for the report in bug 1000299.
+
 2006-05-19  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* host/instr/dump_instr.c: Use CYG_NELEM from infra.
--- a/packages/kernel/current/doc/kernel.sgml
+++ b/packages/kernel/current/doc/kernel.sgml
@@ -1244,7 +1244,7 @@ cyg_start( void )
     &hellip;
     cyg_thread_create( &hellip;,
                       &amp;fred::static_thread_aux,
-                      static_cast&lt;cyg_addrword_t&gt;(&amp;instance),
+                      reinterpret_cast&lt;cyg_addrword_t&gt;(&amp;instance),
                       &hellip;);
     &hellip;
 }