From 00d8dadfd6e2cfa95ce7856aa2f94f0b2c151c27 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Tue, 27 Aug 2019 09:29:24 +0300 Subject: [PATCH] [F] Fixed compilation error --- lib/fort.c | 2 +- src/row.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fort.c b/lib/fort.c index 757bfd9..05853a4 100644 --- a/lib/fort.c +++ b/lib/fort.c @@ -5576,7 +5576,7 @@ fort_row_t *create_row_from_buffer(const string_buffer_t *buffer) #endif /* FT_HAVE_WCHAR */ #ifdef FT_HAVE_UTF8 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 */ default: assert(0); diff --git a/src/row.c b/src/row.c index c03321c..d8daa62 100644 --- a/src/row.c +++ b/src/row.c @@ -596,7 +596,7 @@ fort_row_t *create_row_from_buffer(const string_buffer_t *buffer) #endif /* FT_HAVE_WCHAR */ #ifdef FT_HAVE_UTF8 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 */ default: assert(0);