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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user