]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add missing cast to satisfy gcc understanding of c++
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 Apr 2020 10:42:37 +0000 (11:42 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 3 Apr 2020 10:42:37 +0000 (11:42 +0100)
contrib/replxx/src/conversion.cxx

index b7fa3da4d4e3ce818158d277be3f4d0370f14273..8d724cc3cc3faf86c2f0742a1116b0037ebaa7fe 100644 (file)
@@ -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;