Comms: Fix to undo tautological code

Re-submitting with static_cast instead of C-style cast