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/xdvipdfmx/src | |
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/xdvipdfmx/src')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/dpxfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/xdvipdfmx/src/dpxfile.c b/Build/source/texk/xdvipdfmx/src/dpxfile.c index 09e7c4df6cc..8e89f207911 100644 --- a/Build/source/texk/xdvipdfmx/src/dpxfile.c +++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c @@ -749,7 +749,7 @@ if ((l) + (n) >= (m)) { \ } case 'v': /* Version number, e.g. 1.4 */ { char buf[6]; - sprintf(buf, "1.%hhu", version); + sprintf(buf, "1.%hu", (unsigned short) version); need(cmd, n, size, strlen(buf)); strcpy(cmd + n, buf); n += strlen(buf); break; |