core, w32: Fix format string errors on windows
authorAndre Heinecke <aheinecke@gnupg.org>
Wed, 27 Mar 2019 16:47:41 +0000 (17:47 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Wed, 27 Mar 2019 16:47:41 +0000 (17:47 +0100)
commit4a4680f8901ecdcb7e8d5ed55f48226ccfccd7c8
treec4f7fb22247d24bb556eeeafacf3fc3e1c5f7e75
parent19a4c4daa2cfd075b181d5131a4b8b4d54714b8c
core, w32: Fix format string errors on windows

* src/debug.c (_gpgme_debug): Use gpgrt_vasprintf instead of
vfprintf to have a more portable format.

--
This fixes crashes on Windows because "%zu" is used which
is not natively supported on Windows but which gpgrt supports.
src/debug.c