Re: __assert.c Wpointer-to-int-cast

2014-10-20 Thread Gedare Bloom
On Tue, Oct 14, 2014 at 2:21 AM, Sebastian Huber wrote: > On 14/10/14 04:21, Gedare Bloom wrote: >> >> cpukit/libcsupport/src/__assert.c52:43: >> warning: cast from pointer to integer of different size >> [-Wpointer-to-int-cast] >> rtems_fatal( RTEMS_FATAL_SOURCE_ASSERT, (rtems_fatal_code) >>

Re: __assert.c Wpointer-to-int-cast

2014-10-13 Thread Sebastian Huber
On 14/10/14 04:21, Gedare Bloom wrote: cpukit/libcsupport/src/__assert.c52:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rtems_fatal( RTEMS_FATAL_SOURCE_ASSERT, (rtems_fatal_code) &assert_context ); This code casts the address of assert_control into an

Re: __assert.c Wpointer-to-int-cast

2014-10-13 Thread Joel Sherrill
On October 13, 2014 9:21:26 PM CDT, Gedare Bloom wrote: >Hi, >cpukit/libcsupport/src/__assert.c52:43: >warning: cast from pointer to integer of different size >[-Wpointer-to-int-cast] >rtems_fatal( RTEMS_FATAL_SOURCE_ASSERT, (rtems_fatal_code) >&assert_context ); > >This code casts the address o

__assert.c Wpointer-to-int-cast

2014-10-13 Thread Gedare Bloom
Hi, cpukit/libcsupport/src/__assert.c52:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rtems_fatal( RTEMS_FATAL_SOURCE_ASSERT, (rtems_fatal_code) &assert_context ); This code casts the address of assert_control into an rtems_fatal_code, which is uint32_t. I