summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pr.c b/src/pr.c
index 024c4f8bf..3ac39ae16 100644
--- a/src/pr.c
+++ b/src/pr.c
@@ -1382,7 +1382,7 @@ init_header (char *filename, int desc)
{
size_t t_buf_size = 15;
- cons tchar *fmt = "%y-%m-%d %H:%M"; /* date/time short format */
+ const char *fmt = "%y-%m-%d %H:%M"; /* date/time short format */
t_buf = (char *) xmalloc (t_buf_size);
tmptr = localtime (&st.st_mtime);