summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/emspecial.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/emspecial.c')
-rw-r--r--Build/source/texk/dvipsk/emspecial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/emspecial.c b/Build/source/texk/dvipsk/emspecial.c
index c96437620af..c96298ce267 100644
--- a/Build/source/texk/dvipsk/emspecial.c
+++ b/Build/source/texk/dvipsk/emspecial.c
@@ -276,7 +276,7 @@ char *emp;
int i;
for (emp = emp+5; *emp && isspace((unsigned char)*emp); emp++); /* skip blanks */
for (i=0; *emp && !isspace((unsigned char)*emp) && !(*emp==','); emp++) {
- if (i > 498) {
+ if (i > (int)sizeof(emstr) - 2) {
fprintf(stderr, "em:graph: special too long, truncating\n");
break;
}