[ros-diffs] [sginsberg] 36893: - Fix an assertion by casting to internal structures correctly