diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-09-24 07:14:13 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2015-09-24 07:14:13 +0000 |
commit | 4ac1cdbee605e38869153cdfc577c4234d127bb7 (patch) | |
tree | c9b49cb77406c63bd5a4eb0bd5dcdf46d2701cfa /Build/source/texk/dvipdfm-x/dvipdfmx.c | |
parent | ec3cfe019e8cff724e6cd92f894fac69843821f0 (diff) |
dvipdfmx.c: Cast as kpathsea_debug = (uint32_t)atoi(optarg). Since kpathsea_debug is unsigned int, the cast must be redundant. However a debian person says that he has a negative value for --kpathsea-debug -1, strangely.
git-svn-id: svn://tug.org/texlive/trunk@38453 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/dvipdfmx.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/dvipdfmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/dvipdfmx.c b/Build/source/texk/dvipdfm-x/dvipdfmx.c index 19b0ea3cf3f..b4ae449cc3e 100644 --- a/Build/source/texk/dvipdfm-x/dvipdfmx.c +++ b/Build/source/texk/dvipdfm-x/dvipdfmx.c @@ -461,7 +461,7 @@ do_args (int argc, char *argv[], const char *source) break; case 133: /* --kpathsea-debug */ - if ((kpathsea_debug = atoi(optarg)) < 0) + if ((kpathsea_debug = (uint32_t)atoi(optarg)) < 0) ERROR("Invalid kpathsearch debugging flags specified: %s", optarg); break; |