From 4212ec831b152163b16b47c9a01aeea6a9d382f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 15 Apr 2008 15:55:12 +0000 Subject: [PATCH] Cast size_t to unsigned long to avoid warning. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22989 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/pac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/krb5/pac.c b/lib/krb5/pac.c index ca6998343..46b1e4a2a 100644 --- a/lib/krb5/pac.c +++ b/lib/krb5/pac.c @@ -158,8 +158,9 @@ krb5_pac_parse(krb5_context context, const void *ptr, size_t len, goto out; } if (p->pac->buffers[i].offset_lo < header_end) { - krb5_set_error_string(context, "PAC offset inside header: %d %d", - p->pac->buffers[i].offset_lo, header_end); + krb5_set_error_string(context, "PAC offset inside header: %lu %lu", + (unsigned long)p->pac->buffers[i].offset_lo, + (unsigned long)header_end); ret = EINVAL; goto out; } -- 2.11.4.GIT