Remove long_u: term: Enable -Wconversion.

This commit is contained in:
Eliseo Martínez
2015-01-09 19:23:35 +01:00
parent 2b93edde93
commit 31c8440fee
7 changed files with 129 additions and 116 deletions

View File

@@ -6593,7 +6593,7 @@ do_highlight (
* Copy characters from arg[] to buf[], translating <> codes.
*/
for (p = arg, off = 0; off < 100 - 6 && *p; ) {
len = trans_special(&p, buf + off, FALSE);
len = (int)trans_special(&p, buf + off, FALSE);
if (len > 0) /* recognized special char */
off += len;
else /* copy as normal char */