aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/ChangeLog4
-rw-r--r--scd/ccid-driver.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/scd/ChangeLog b/scd/ChangeLog
index ff492d62c..62af9cf3d 100644
--- a/scd/ChangeLog
+++ b/scd/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-29 Marcus Brinkmann <[email protected]>
+
+ * ccid-driver.c (print_pr_data): Fix 64 bit compat problem.
+
2009-07-24 Werner Koch <[email protected]>
* ccid-driver.c (parse_ccid_descriptor): Enable hack for SCR 3320.
diff --git a/scd/ccid-driver.c b/scd/ccid-driver.c
index 43dfcce9e..844058e0b 100644
--- a/scd/ccid-driver.c
+++ b/scd/ccid-driver.c
@@ -413,7 +413,7 @@ print_pr_data (const unsigned char *data, size_t datalen, size_t off)
{
if (any)
DEBUGOUT_LF ();
- DEBUGOUT_1 (" [%04d] ", off);
+ DEBUGOUT_1 (" [%04lu] ", (unsigned long) off);
}
DEBUGOUT_CONT_1 (" %02X", data[off]);
any = 1;