We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90bdd05 commit 6d90431Copy full SHA for 6d90431
rclrs/src/context.rs
@@ -217,7 +217,7 @@ impl InitOptions {
217
// other than None. When the user asks for None, that is equivalent
218
// to the default value in rcl_init_options.
219
if let Some(domain_id) = self.domain_id {
220
- rcl_init_options_set_domain_id(&mut rcl_init_options, domain_id as usize);
+ rcl_init_options_set_domain_id(&mut rcl_init_options, domain_id);
221
}
222
Ok(rcl_init_options)
223
0 commit comments