diff --git a/tests/unittests/libretroshare/gxs/data_service/rsdataservice_test.cc b/tests/unittests/libretroshare/gxs/data_service/rsdataservice_test.cc index 7f4e4b49c..d5da291a4 100644 --- a/tests/unittests/libretroshare/gxs/data_service/rsdataservice_test.cc +++ b/tests/unittests/libretroshare/gxs/data_service/rsdataservice_test.cc @@ -98,7 +98,7 @@ void test_groupStoreAndRetrieve(){ } RsGxsGrpMetaData *l_Meta = (*mit)->metaData, - *r_Meta = grpMetaR[grpId]; + *r_Meta = const_cast(grpMetaR[grpId]); // assign signSet and mGrpSize // to right as these values are not stored in db