summaryrefslogtreecommitdiff
path: root/kerberosV
diff options
context:
space:
mode:
Diffstat (limited to 'kerberosV')
-rw-r--r--kerberosV/src/kdc/hprop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kerberosV/src/kdc/hprop.c b/kerberosV/src/kdc/hprop.c
index 08feee31199..968e31ed0ce 100644
--- a/kerberosV/src/kdc/hprop.c
+++ b/kerberosV/src/kdc/hprop.c
@@ -334,10 +334,11 @@ read_block(krb5_context context, int fd, int32_t pos, void *buf, size_t len)
krb5_err(context, 1, errno, "lseek(%u)", 64 + pos);
ret = read(fd, buf, len);
if(ret < 0)
- krb5_err(context, 1, errno, "read(%u)", len);
+ krb5_err(context, 1, errno, "read(%lu)", (unsigned long)len);
#endif
if(ret != len)
- krb5_errx(context, 1, "read(%u) = %u", len, ret);
+ krb5_errx(context, 1, "read(%lu) = %lu", (unsigned long)len,
+ (unsigned long)ret);
}
static int