fix constant conversion error

This commit is contained in:
Enno Rehling 2016-11-20 15:14:03 +01:00
parent ae951ee780
commit 9ac74ceecc
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ static void test_unicode_trim(CuTest * tc)
CuAssertIntEquals(tc, 3, unicode_utf8_trim(buffer));
CuAssertStrEquals(tc, "Hello Word", buffer);
buffer[9] = 0xc3;
buffer[9] = (char)0xc3;
CuAssertIntEquals(tc, 1, unicode_utf8_trim(buffer));
CuAssertStrEquals(tc, "Hello Wor?", buffer);
}