summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.c b/src/misc.c
index 0c8d8d650..4d4a31a3a 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -423,7 +423,7 @@ char *duration(NickAlias * na, char *buf, int bufsize, time_t seconds)
int need_comma = 0;
char buf2[64], *end;
- char *comma = getstring(na, COMMA_SPACE);
+ const char *comma = getstring(na, COMMA_SPACE);
/* We first calculate everything */
days = seconds / 86400;