pygi-argument: Fix a potentially misaligned cast
commit80eb22b240dc1e758836ac10d2a9786faeaf2c10
authorChristoph Reiter <reiter.christoph@gmail.com>
Thu, 12 Apr 2018 09:18:48 +0000 (12 11:18 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Thu, 12 Apr 2018 14:28:40 +0000 (12 16:28 +0200)
tree02c15ac42221a856e437dcbf97831cf06c141265
parent507b27d7f0253db7fda2a1428cedf80711b3caa6
pygi-argument: Fix a potentially misaligned cast

The item size in the array does not strictly have the same alignment as
GIArgument so better memcpy to the stack first.

clang complained about this
gi/pygi-argument.c