summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorJjgod Jiang <gzjjgod@gmail.com>2014-07-28 18:44:06 +0000
committerJjgod Jiang <gzjjgod@gmail.com>2014-07-28 18:44:06 +0000
commitb93835cf3822bef3d382227e60759db2525dcc93 (patch)
tree1d23868199faffa2b702d17734387bd9cf993033 /Build
parent58dec28ac7e930e67e70a4d4c41364209bbf9c77 (diff)
Fix a compiler warning with unsigned comparison
git-svn-id: svn://tug.org/texlive/trunk@34759 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog3
-rw-r--r--Build/source/texk/dvipdfm-x/tt_cmap.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index f416ebd04c1..5c4f7bd2bf5 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -2,6 +2,9 @@
* dpxfile.c (qcheck_filetype): Skip opening non-existent file.
+ * tt_cmap.c (lookup_cmap12): Fix a compiler warning when trying to
+ compare unsigned value with 0.
+
2014-07-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* type0.c (Type0Font_*_ToUnicode_stream): Declare once as static
diff --git a/Build/source/texk/dvipdfm-x/tt_cmap.c b/Build/source/texk/dvipdfm-x/tt_cmap.c
index 9036b51c899..95471a34860 100644
--- a/Build/source/texk/dvipdfm-x/tt_cmap.c
+++ b/Build/source/texk/dvipdfm-x/tt_cmap.c
@@ -432,7 +432,7 @@ static USHORT
lookup_cmap12 (struct cmap12 *map, ULONG cccc)
{
USHORT gid = 0;
- ULONG i;
+ int i;
i = map->nGroups;
while (i-- >= 0 &&