core: Fix a strtoul to strtol
authorAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 15:35:13 +0000 (16:35 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Tue, 26 Mar 2019 15:35:13 +0000 (16:35 +0100)
commit10576dc427b3746e2c3b9bc40efe618a3bd40519
treecfc52ba26cf119915e21933f87d1ea1dfbe68648
parentffdb75217bc09561cf651dab15cd26e0024d89a7
core: Fix a strtoul to strtol

* src/assuan-support.c (my_spawn): Fix using strtoul for
a long.

--
This was commented on in129def87b262 and is correct.
It is signed here to better handle cases where an
invalid handle value (-1) would be passed.
src/assuan-support.c