On 04/03/2013 09:06 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> The current way virObject instances are allocated using
> VIR_ALLOC_N causes alignment warnings
>
> util/virobject.c: In function 'virObjectNew':
> util/virobject.c:195:11: error: cast increases required alignment
From: "Daniel P. Berrange"
The current way virObject instances are allocated using
VIR_ALLOC_N causes alignment warnings
util/virobject.c: In function 'virObjectNew':
util/virobject.c:195:11: error: cast increases required alignment of target
type [-Werror=cast-align]
Changing to use VIR_ALLOC