From 5e74cbdab970b0e5ea3a3330641eded72dc50653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 4 Apr 2005 19:31:56 +0000 Subject: [PATCH] print size_t by casting to unsigned long git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14741 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/strpftime-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/strpftime-test.c b/lib/roken/strpftime-test.c index 753543720..528b6727e 100644 --- a/lib/roken/strpftime-test.c +++ b/lib/roken/strpftime-test.c @@ -246,8 +246,8 @@ main(int argc, char **argv) len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm); if (len != strlen (buf)) { - printf ("length of strftime(\"%s\") = %d (\"%s\")\n", - tests[i].vals[j].format, len, + printf ("length of strftime(\"%s\") = %lu (\"%s\")\n", + tests[i].vals[j].format, (unsigned long)len, buf); ++ret; continue;