summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 41dfffbae..bf340d04d 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1390,7 +1390,7 @@ msg_outtrans_len_attr(msgstr, len, attr)
attr);
plain_start = str + 1;
msg_puts_attr(s, attr == 0 ? hl_attr(HLF_8) : attr);
- retval += STRLEN(s);
+ retval += (int)STRLEN(s);
}
else
++retval;