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

Martin Kletzander mkletzan at redhat.com
Mon Mar 21 20:05:23 UTC 2016


On Mon, Mar 21, 2016 at 02:20:21PM -0400, Cole Robinson wrote:
>Fixes arm32 build failures for me
>

I though I pushed it and apparently, I didn't.  Fixed now.

>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
>>
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160321/6bfad4ed/attachment-0001.sig>


More information about the libvir-list mailing list