summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordfilimon@google.com <dfilimon@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-09-17 23:09:54 +0000
committerdfilimon@google.com <dfilimon@google.com@672e30a5-4c29-85ac-ac6d-611c735e0a51>2011-09-17 23:09:54 +0000
commit15c65e73fa282ac33c3d4e464ceed659672d4c7e (patch)
treedcbe1a9d53e1c62dcfc722db1643522e929c97e8
parentce2471a4cd4a9d39f3e761bfe6739fb454bf0dc3 (diff)
downloadsrc-15c65e73fa282ac33c3d4e464ceed659672d4c7e.tar.gz
Fixind Windows build, round 3.
git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@88 672e30a5-4c29-85ac-ac6d-611c735e0a51
-rw-r--r--test/cmap_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmap_test.cc b/test/cmap_test.cc
index e67137c..02bf8a2 100644
--- a/test/cmap_test.cc
+++ b/test/cmap_test.cc
@@ -146,10 +146,10 @@ void CMapTests::CompareCMaps() {
uchar <= GetParam().high_char(); ++uchar) {
int32_t c1 = uchar;
if (encoder1_ != NULL)
- c1 = TestUtils::EncodeOneChar(encoder1_, uchar);
+ c1 = TestUtils::EncodeOneChar(encoder1_, (int16_t)uchar);
int32_t c2 = uchar;
if (encoder2_ != NULL)
- c2 = TestUtils::EncodeOneChar(encoder2_, uchar);
+ c2 = TestUtils::EncodeOneChar(encoder2_, (int16_t)uchar);
int32_t glyph_id1 = cmap1_->GlyphId(c1);
int32_t glyph_id2 = cmap2_->GlyphId(c2);
#ifdef SFNTLY_DEBUG_CMAP