summaryrefslogtreecommitdiff
path: root/Build/source/texk/chktex/chktex-1.7.1-PATCHES/patch-14-finderrs
blob: 16ba4c47b5e953c7be4c72f9c7e805f00c4e037c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- FindErrs.c	(revision 242)
+++ FindErrs.c	(working copy)
@@ -918,7 +918,7 @@
                         /* Default -- show the match */
                         PSERR2(offset + MATCH.rm_so, MATCH.rm_eo - MATCH.rm_so,
                                emUserWarnRegex,
-                               MATCH.rm_eo - MATCH.rm_so,
+                               (int)(MATCH.rm_eo - MATCH.rm_so),
                                TmpBuffer + offset + MATCH.rm_so);
                     }
                     offset += MATCH.rm_eo;