fixed compiler warning

This commit is contained in:
Frank Morgner
2015-03-14 00:20:46 +01:00
parent c7ca4bad48
commit 7f986c3407

View File

@@ -61,7 +61,7 @@ int picc_encode_rapdu(const unsigned char *inbuf, size_t inlen,
*outlen = length; *outlen = length;
/* write length of R-APDU */ /* write length of R-APDU */
sprintf(p, "%0lX:", inlen); sprintf(p, "%0lX:", (unsigned long) inlen);
/* next points to the next byte to encode */ /* next points to the next byte to encode */
next = inbuf; next = inbuf;