[Spice-devel] [PATCH v2] remove a warning building a test

Christophe Fergeau cfergeau at redhat.com
Wed May 18 10:14:04 UTC 2016


On Wed, May 18, 2016 at 12:46:03PM +0300, Uri Lublin wrote:
> 
> In man cmsg examples I see they use a pointer:
> int *pi = (int*) CMSG_DATA(cmsg);
> *fd = *pi;

It seems to work this way, but I'm not sure why this works ;)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160518/2ad81716/attachment.sig>


More information about the Spice-devel mailing list