From e21b42f40c9cc40c8d6d67dc99aa7f29e6711059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 16 Jun 2005 16:55:55 +0000 Subject: [PATCH] rk_UNCONST argument mktime git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15413 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/strftime.c b/lib/roken/strftime.c index 8681d1b86..35a8c3a0c 100644 --- a/lib/roken/strftime.c +++ b/lib/roken/strftime.c @@ -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,