improve style of the convert macro (#24655)

Patch by Brian Cain.
1 file changed