@@ -1070,9 +1070,11 @@ void SecurityManager::delete_participant_stateless_message_entities()
1070
1070
void SecurityManager::create_participant_stateless_message_pool ()
1071
1071
{
1072
1072
participant_stateless_message_writer_hattr_ =
1073
- { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, PARTICIPANT_STATELESS_MESSAGE_PAYLOAD_DEFAULT_SIZE, 20 , 100 };
1073
+ { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, static_cast <uint32_t >(PARTICIPANT_STATELESS_MESSAGE_PAYLOAD_DEFAULT_SIZE),
1074
+ 20 , 100 };
1074
1075
participant_stateless_message_reader_hattr_ =
1075
- { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, PARTICIPANT_STATELESS_MESSAGE_PAYLOAD_DEFAULT_SIZE, 10 , 5000 };
1076
+ { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, static_cast <uint32_t >(PARTICIPANT_STATELESS_MESSAGE_PAYLOAD_DEFAULT_SIZE),
1077
+ 10 , 5000 };
1076
1078
1077
1079
BasicPoolConfig cfg{ PREALLOCATED_WITH_REALLOC_MEMORY_MODE, PARTICIPANT_STATELESS_MESSAGE_PAYLOAD_DEFAULT_SIZE};
1078
1080
participant_stateless_message_pool_ = TopicPayloadPoolRegistry::get (" DCPSParticipantStatelessMessage" , cfg);
@@ -1226,7 +1228,8 @@ void SecurityManager::delete_participant_volatile_message_secure_entities()
1226
1228
void SecurityManager::create_participant_volatile_message_secure_pool ()
1227
1229
{
1228
1230
participant_volatile_message_secure_hattr_ =
1229
- { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, PARTICIPANT_VOLATILE_MESSAGE_PAYLOAD_DEFAULT_SIZE, 10 , 0 };
1231
+ { PREALLOCATED_WITH_REALLOC_MEMORY_MODE, static_cast <uint32_t >(PARTICIPANT_VOLATILE_MESSAGE_PAYLOAD_DEFAULT_SIZE),
1232
+ 10 , 0 };
1230
1233
1231
1234
PoolConfig pool_cfg = PoolConfig::from_history_attributes (participant_volatile_message_secure_hattr_);
1232
1235
participant_volatile_message_secure_pool_ =
0 commit comments