This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

kernel doc fix for bug 1000299


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/ChangeLog,v
retrieving revision 1.135
diff -u -5 -p -r1.135 ChangeLog
--- ChangeLog	19 May 2006 10:15:43 -0000	1.135
+++ ChangeLog	21 Aug 2006 17:10:44 -0000
@@ -1,5 +1,10 @@
+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.
 	* src/instrmnt/meminst.cxx: Use CYG_NELEM from infra.
 
Index: doc/kernel.sgml
===================================================================
RCS file: /cvs/ecos/ecos/packages/kernel/current/doc/kernel.sgml,v
retrieving revision 1.13
diff -u -5 -p -r1.13 kernel.sgml
--- doc/kernel.sgml	11 Apr 2006 19:18:02 -0000	1.13
+++ doc/kernel.sgml	21 Aug 2006 17:10:47 -0000
@@ -1242,11 +1242,11 @@ extern "C" void
 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;
 }
       </programlisting>
       <para>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]