diff options
author | Daiki Ueno <dueno@redhat.com> | 2017-01-16 14:06:30 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2017-01-17 10:20:27 +0100 |
commit | a126365a49547da6b532210a886bb5d5fc531b77 (patch) | |
tree | 44c1aac021d75f2f48703da0031433c5bce89825 /common/array.h | |
parent | 726c08847c263af9c9fd8c74aea738612795dbb6 (diff) |
uri: Avoid typecasting confusion on s390x
Like memcpy(), the 'void *' argument of p11_buffer_add() points to the
memory area ordered in host's endianness. Add typecast of int->char to
avoid the confusion.
Reported by Andreas Metzler in:
https://lists.freedesktop.org/archives/p11-glue/2017-January/000633.html
Diffstat (limited to 'common/array.h')
0 files changed, 0 insertions, 0 deletions