gpgscm: Avoid truncating pointers.
authorJustus Winter <justus@g10code.com>
Tue, 29 Nov 2016 12:31:38 +0000 (13:31 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 29 Nov 2016 13:45:56 +0000 (14:45 +0100)
commite062bc4da8062b822ee85096d9adfcbca8dcb56a
tree83466ea75f38b7f44a31d9aded62eaa075f098e9
parentf6728d13e8e544dbd4b9351ed981613e5504293f
gpgscm: Avoid truncating pointers.

* tests/gpgscm/scheme.c (_alloc_cellseg): Avoid truncating pointers on
systems where sizeof(unsigned long) < sizeof(void *).

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/scheme.c