Wconversion: fix #1578