File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ extern "C"
9494 scrutiny_c_rpv_write_callback_t const wr_cb)
9595 {
9696 get_config (config)->set_published_values (
97- reinterpret_cast <scrutiny::RuntimePublishedValue const *const >(array), // should match as per static_assert above
97+ reinterpret_cast <scrutiny::RuntimePublishedValue const *>(array), // should match as per static_assert above
9898 nbr,
99- reinterpret_cast <scrutiny::RpvReadCallback>(rd_cb), // Expect signature to match
100- reinterpret_cast <scrutiny::RpvWriteCallback>(wr_cb)); // Expect signature to match
99+ reinterpret_cast <scrutiny::RpvReadCallback>(reinterpret_cast < void *>( rd_cb) ), // Expect signature to match
100+ reinterpret_cast <scrutiny::RpvWriteCallback>(reinterpret_cast < void *>( wr_cb) )); // Expect signature to match
101101 }
102102
103103 void scrutiny_c_config_set_loops (scrutiny_c_config_t *config, scrutiny_c_loop_handler_t **loops, uint8_t const loop_count)
You can’t perform that action at this time.
0 commit comments