[Spice-devel] [PATCH 8/9] worker: simplify RedCompressBuf

Christophe Fergeau cfergeau at redhat.com
Thu Nov 19 10:26:11 PST 2015


On Wed, Nov 18, 2015 at 06:14:25AM -0500, Frediano Ziglio wrote:
> Also the function cast is not portable (I thing can core on x86!).

I think this is undefined behaviour indeed, but on the other hand, it's
used quite often in the glib/GNOME world, so I don't expect bad things
to happen in practice (not saying this patch was a good use of that
though)

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


More information about the Spice-devel mailing list