aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/replxx/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-03 11:42:37 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-04-03 11:42:37 +0100
commit69652515dbf3400bb59d243912c24a1fd3879990 (patch)
tree292af5204ddf54ef13ac193730a612d5e6368b68 /contrib/replxx/src
parent0a822b38c6c7177633c81d373946c7ba12639ec7 (diff)
downloadrspamd-69652515dbf3400bb59d243912c24a1fd3879990.tar.gz
rspamd-69652515dbf3400bb59d243912c24a1fd3879990.zip
[Minor] Add missing cast to satisfy gcc understanding of c++
Diffstat (limited to 'contrib/replxx/src')
-rw-r--r--contrib/replxx/src/conversion.cxx2
1 files changed, 1 insertions, 1 deletions
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;