diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-06-08 09:58:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-06-08 09:58:07 +0000 |
commit | 791212e8c96abfefb2c03415708680b5fdaf5780 (patch) | |
tree | 1d46fdeb25327f8aa3863d2fb525b0c47aa83ac9 /Build/source/texk/dvipdfmx/src/dpxfile.c | |
parent | 70e988f4f07d3d299c112fc190ecd5f21b7bb25e (diff) |
always use unsigned short vars/vals with "%hu" format spec
git-svn-id: svn://tug.org/texlive/trunk@18813 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/dpxfile.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/dpxfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxfile.c b/Build/source/texk/dvipdfmx/src/dpxfile.c index 24ab7106e7c..2824aaeb124 100644 --- a/Build/source/texk/dvipdfmx/src/dpxfile.c +++ b/Build/source/texk/dvipdfmx/src/dpxfile.c @@ -726,7 +726,7 @@ if ((l) + (n) >= (m)) { \ } case 'v': /* Version number, e.g. 1.4 */ { char buf[6]; - sprintf(buf, "1.%hu", version); + sprintf(buf, "1.%hu", (unsigned short) version); need(cmd, n, size, strlen(buf)); strcpy(cmd + n, buf); n += strlen(buf); break; |