> On 30 May 2017, at 15:49, Frediano Ziglio wrote:
>
>>
>> From: Christophe de Dinechin
>>
>> For example, something like this:
>>uint8_t *p8;
>>uint32_t *p32 = (uint32_t *) p8;
>>
>> generates a warning like this:
>>
>
> From: Christophe de Dinechin
>
> For example, something like this:
> uint8_t *p8;
> uint32_t *p32 = (uint32_t *) p8;
>
> generates a warning like this:
> spice-channel.c:1350:10: error: cast from 'uint8_t *' (aka 'unsigned char
> *') to
> 'uint32_t
From: Christophe de Dinechin
For example, something like this:
uint8_t *p8;
uint32_t *p32 = (uint32_t *) p8;
generates a warning like this:
spice-channel.c:1350:10: error: cast from 'uint8_t *' (aka 'unsigned char *')
to
'uint32_t *' (aka 'unsigned int *')