summaryrefslogtreecommitdiff
path: root/lib/libsectok/atr.c
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-06-25 03:34:01 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-06-25 03:34:01 +0000
commit7b5259e7e38d1be7b877af3ed6a24ceca7fb284c (patch)
tree122714b24cfafa5873b4deca3611cda9dc03ec64 /lib/libsectok/atr.c
parent785b45493cbe8f5ba1111e72a7012c6457fb0e51 (diff)
fix long arg for alpha
Diffstat (limited to 'lib/libsectok/atr.c')
-rw-r--r--lib/libsectok/atr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsectok/atr.c b/lib/libsectok/atr.c
index 39e64b52324..d4657af3ecd 100644
--- a/lib/libsectok/atr.c
+++ b/lib/libsectok/atr.c
@@ -1,4 +1,4 @@
-/* $Id: atr.c,v 1.4 2001/06/18 16:00:50 rees Exp $ */
+/* $Id: atr.c,v 1.5 2001/06/25 03:34:00 rees Exp $ */
/*
copyright 1997, 1999, 2000, 2001
@@ -249,7 +249,7 @@ parse_atr(int ttyn, int flags, unsigned char *atr, int len, struct scparam *para
/* got enough bytes? */
if (ap - atr != len && (flags & SCRV))
- printf("expected %d proto bytes + %d historical bytes, got %d\n", ap - atr - nhb, nhb, len);
+ printf("expected %d proto bytes + %d historical bytes, got %d\n", (int) (ap - atr) - nhb, nhb, len);
if (ap - atr > len) {
if (flags & SCRV)
printf("atr underrun\n");