Can't build CVS rtems-4-7-branch

Ralf Corsepius ralf.corsepius at rtems.org
Wed Feb 7 02:29:13 UTC 2007


On Tue, 2007-02-06 at 18:10 -0600, Joel Sherrill wrote:
> Till Straumann wrote:
> > Joel Sherrill wrote:
> >> Till Straumann wrote:
> >>> Joel Sherrill wrote:

> >> I didn't see any void * <-> uint32_t casts.  What code are you 
> >> referring to?

Have a look at my patch:

Here is one:
--- cpukit/score/src/coremsgseize.c     6 Feb 2007 03:50:47 -0000       1.11
+++ cpukit/score/src/coremsgseize.c     6 Feb 2007 17:16:25 -0000
@@ -107,7 +107,7 @@
      */
 
     the_message->priority  = the_thread->Wait.count;
-    the_message->Contents.size = (uint32_t  )the_thread->Wait.return_argument_1;
+    the_message->Contents.size = the_thread->Wait.return_size;
     _CORE_message_queue_Copy_buffer(
       the_thread->Wait.return_argument,
       the_message->Contents.buffer, 

return_argument_1 is a void*, Contents.size is uint32_t => Illegal cast.

Ralf





More information about the users mailing list