Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
JEnoch committed Sep 29, 2023
1 parent 7e4c955 commit 81a3672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenoh-plugin-ros2dds/src/dds_discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl DDSRawSample {
pub fn len(&self) -> usize {
#[cfg(feature = "dds_shm")]
{
self.data.iov_len + self.iox_chunk.as_ref().map(IoxChunk::len).unwrap_or(0)
self.data.iov_len + self.iox_chunk.as_ref().map(IoxChunk::len).unwrap_or(0usize)
}

#[cfg(not(feature = "dds_shm"))]
Expand Down

0 comments on commit 81a3672

Please sign in to comment.