gpgscm: Avoid mutating integer.
authorJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 14:24:49 +0000 (16:24 +0200)
committerJustus Winter <justus@g10code.com>
Thu, 6 Apr 2017 14:24:49 +0000 (16:24 +0200)
commitf1dc34f502a68673e7a29f3fcf57b8dc6a4fac89
tree08009c94634948aab00158b7048384c311d49258
parentb83903f59ec5d49ac579f263da70ebc8dc3645b5
gpgscm: Avoid mutating integer.

* tests/gpgscm/scheme.c (opexe_5): Do not modify the integer in-place
while printing an vector.  Integer objects may be shared, so they must
not be mutated.

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