rk_UNCONST argument mktime

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15413 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 16:55:55 +00:00
parent 101d943acc
commit e21b42f40c

View File

@@ -290,7 +290,7 @@ strftime (char *buf, size_t maxsize, const char *format,
case 's' :
ret = snprintf (buf, maxsize - n,
"%d", (int)mktime((struct tm *)tm));
"%d", (int)mktime(rk_UNCONST(tm)));
break;
case 'S' :
ret = snprintf (buf, maxsize - n,