[F] Fixed compilation error
This commit is contained in:
parent
8dd850571e
commit
00d8dadfd6
@ -5576,7 +5576,7 @@ fort_row_t *create_row_from_buffer(const string_buffer_t *buffer)
|
|||||||
#endif /* FT_HAVE_WCHAR */
|
#endif /* FT_HAVE_WCHAR */
|
||||||
#ifdef FT_HAVE_UTF8
|
#ifdef FT_HAVE_UTF8
|
||||||
case UTF8_BUF:
|
case UTF8_BUF:
|
||||||
return create_row_from_string(buffer->str.u8str);
|
return create_row_from_string((const char *)buffer->str.u8str);
|
||||||
#endif /* FT_HAVE_UTF8 */
|
#endif /* FT_HAVE_UTF8 */
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
@ -596,7 +596,7 @@ fort_row_t *create_row_from_buffer(const string_buffer_t *buffer)
|
|||||||
#endif /* FT_HAVE_WCHAR */
|
#endif /* FT_HAVE_WCHAR */
|
||||||
#ifdef FT_HAVE_UTF8
|
#ifdef FT_HAVE_UTF8
|
||||||
case UTF8_BUF:
|
case UTF8_BUF:
|
||||||
return create_row_from_string(buffer->str.u8str);
|
return create_row_from_string((const char *)buffer->str.u8str);
|
||||||
#endif /* FT_HAVE_UTF8 */
|
#endif /* FT_HAVE_UTF8 */
|
||||||
default:
|
default:
|
||||||
assert(0);
|
assert(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user