From 69652515dbf3400bb59d243912c24a1fd3879990 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 3 Apr 2020 11:42:37 +0100 Subject: [PATCH] [Minor] Add missing cast to satisfy gcc understanding of c++ --- contrib/replxx/src/conversion.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/replxx/src/conversion.cxx b/contrib/replxx/src/conversion.cxx index b7fa3da4d..8d724cc3c 100644 --- a/contrib/replxx/src/conversion.cxx +++ b/contrib/replxx/src/conversion.cxx @@ -90,7 +90,7 @@ void copyString32to8( UBool is_error = 0; for (auto i = 0; i < srcSize; i ++) { - U8_APPEND (dst, j, dstSize, src[i], is_error); + U8_APPEND ((uint8_t *)dst, j, dstSize, src[i], is_error); if (is_error) { break; -- 2.39.5