print size_t by casting to unsigned long

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14741 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-04-04 19:31:56 +00:00
parent a33daf69bf
commit 5e74cbdab9

View File

@@ -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;