Skip to content

Commit

Permalink
Remove warnings on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González <[email protected]>
  • Loading branch information
richiware committed Sep 24, 2024
1 parent 842bdcf commit adfd2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rmw_fastrtps_shared_cpp/src/TypeSupport_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ uint32_t TypeSupport::calculate_serialized_size(
uint32_t ser_size {0};
if (ser_data->type == FASTDDS_SERIALIZED_DATA_TYPE_CDR_BUFFER) {
auto ser = static_cast<eprosima::fastcdr::Cdr *>(ser_data->data);
ser_size = ser->get_serialized_data_length();
ser_size = static_cast<uint32_t>(ser->get_serialized_data_length());
} else {
ser_size = this->getEstimatedSerializedSize(ser_data->data, ser_data->impl);
ser_size = static_cast<uint32_t>(this->getEstimatedSerializedSize(ser_data->data, ser_data->impl));
}
return ser_size;
}
Expand Down

0 comments on commit adfd2ad

Please sign in to comment.