[libvirt] [PATCH v2] nss: Make aligning look nicer

Cole Robinson crobinso at redhat.com
Mon Mar 21 18:20:21 UTC 2016


Fixes arm32 build failures for me

Thanks,
Cole

On 03/21/2016 07:57 AM, Martin Kletzander wrote:
> Every aligning requires at least one cast and it's hard to read.  Let's
> make a function that makes sure the pointer is moved according to the
> alignment and use that to move throughout the data buffer.
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
> v2:
>  - Initialize @idx in _nss_libvirt_gethostbyname4_r as well
> 




More information about the libvir-list mailing list