scd: Fix int/short mismatch in format string of app-p15.c
authorWerner Koch <wk@gnupg.org>
Thu, 18 Sep 2014 13:39:50 +0000 (15:39 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 18 Sep 2014 13:39:50 +0000 (15:39 +0200)
commitb17e8bbf20239e840763f98d3e62f16efdc82ba3
treeb6a8767f77c242bd5c4572520daa7d6c7eefd4d9
parentf82a6e0f08725008c5bbf702a5f4c175ea09f01c
scd: Fix int/short mismatch in format string of app-p15.c

* scd/app-p15.c (parse_certid): Use snprintf and cast value.
(send_certinfo): Ditto.
(send_keypairinfo): Ditto.
(do_getattr): Ditto.
scd/app-p15.c