explicit conversion to fix build failure on xubuntu