From: Vsevolod Stakhov Date: Fri, 3 Apr 2020 10:42:37 +0000 (+0100) Subject: [Minor] Add missing cast to satisfy gcc understanding of c++ X-Git-Tag: 2.6~560 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=69652515dbf3400bb59d243912c24a1fd3879990;p=thirdparty%2Frspamd.git [Minor] Add missing cast to satisfy gcc understanding of c++ --- diff --git a/contrib/replxx/src/conversion.cxx b/contrib/replxx/src/conversion.cxx index b7fa3da4d4..8d724cc3cc 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;