From 7f986c34075bfd4a31476d95506185670da0794a Mon Sep 17 00:00:00 2001 From: Frank Morgner Date: Sat, 14 Mar 2015 00:20:46 +0100 Subject: [PATCH] fixed compiler warning --- pcsc-relay/src/opicc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsc-relay/src/opicc.c b/pcsc-relay/src/opicc.c index 732a953..4cd42f1 100644 --- a/pcsc-relay/src/opicc.c +++ b/pcsc-relay/src/opicc.c @@ -61,7 +61,7 @@ int picc_encode_rapdu(const unsigned char *inbuf, size_t inlen, *outlen = length; /* write length of R-APDU */ - sprintf(p, "%0lX:", inlen); + sprintf(p, "%0lX:", (unsigned long) inlen); /* next points to the next byte to encode */ next = inbuf;