[MLton-commit] r4450

Matthew Fluet MLton@mlton.org
Thu, 4 May 2006 12:37:46 -0700


Cast
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/basis/System/Date.c

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/basis/System/Date.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/basis/System/Date.c	2006-05-04 19:12:26 UTC (rev 4449)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/basis/System/Date.c	2006-05-04 19:37:46 UTC (rev 4450)
@@ -59,5 +59,5 @@
 }
 
 C_Size_t Date_strfTime(Array(Char8_t) buf, C_Size_t n, NullString8_t fmt) {
-  return strftime((char*)(buf), n, (char*)(fmt), &tm_in);
+  return strftime((char*)(buf), n, (const char*)(fmt), &tm_in);
 }