summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-12 13:43:18 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-12 13:43:18 +0000
commit2c935654be055252786f67b5a056fc6b621f9c5f (patch)
tree9688750be9c4e61a1c4adbf21289d90cf794d501 /Build
parent6b440dfef401523a2a3ae7ac97fbe5f2f40cee0d (diff)
ps2pkm: Avoid MSVC warning (from Akira)
git-svn-id: svn://tug.org/texlive/trunk@27012 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/ps2pkm/ChangeLog4
-rw-r--r--Build/source/texk/ps2pkm/pk2bm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/ps2pkm/ChangeLog b/Build/source/texk/ps2pkm/ChangeLog
index 030b8f0a923..9d81d99fee5 100644
--- a/Build/source/texk/ps2pkm/ChangeLog
+++ b/Build/source/texk/ps2pkm/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * pk2bm.c: Cast arg2 of readchar() to avoid MSVC warning.
+
2012-07-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* tests/ps2pk.test (new): Shell script for a test case.
diff --git a/Build/source/texk/ps2pkm/pk2bm.c b/Build/source/texk/ps2pkm/pk2bm.c
index 63b36d520b6..b61a68a4bb8 100644
--- a/Build/source/texk/ps2pkm/pk2bm.c
+++ b/Build/source/texk/ps2pkm/pk2bm.c
@@ -103,7 +103,7 @@ int main(int argc, char *argv[])
pkname = argv[0];
- if (readchar(pkname, C, &cd)) {
+ if (readchar(pkname, (shalfword)C, &cd)) {
int H, dh, W, dw, bitsleft;
halfword nextword; quarterword nextbyte;