summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-01-23 02:31:07 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-01-23 02:31:07 +0000
commit28046e42fccf4d75794ab2396be26c9e813b2b3c (patch)
treede64a38787adc97eb0d108a01a3f7eacd38a7c5d /Build/source
parent330f483454899509920f2b2bf1aa41a08c913981 (diff)
support old compilers
git-svn-id: svn://tug.org/texlive/trunk@61705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index 39de9870fd7..e4f2a2b5e5f 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -3084,9 +3084,10 @@ getjobname(strnumber name)
while (i<l)
{
p = multistrlenshort(strpool, l, i);
- if (p>1)
- for (int j=i+p; i<j; i++) strpool[i] = (0xFF&strpool[i])+0x100;
- else i++;
+ if (p>1) {
+ int j;
+ for (j=i+p; i<j; i++) strpool[i] = (0xFF&strpool[i])+0x100;
+ } else i++;
}
#endif /* IS_pTeX */
return ret;