scd: fix for 64-bit arch.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 9 Mar 2015 02:00:03 +0000 (11:00 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 9 Mar 2015 02:00:03 +0000 (11:00 +0900)
commitbb5a1b7c738d74d5b46340ec7b50000a2d343ca9
tree455e6f44272a67193ed106e381d65326dbf253eb
parent87a218c3bf94e2084e189e1833b289ec7f96167e
scd: fix for 64-bit arch.

* agent/pksign.c (agent_pksign_do): Use int.
* scd/app-openpgp.c (get_public_key): Likewise.

--

On 64-bit architecture, int and size_t might be different.
For the first argument for '%b', int is expected.
agent/pksign.c
scd/app-openpgp.c