Fixed a conversion warning (g++ detected it while clang++ didn't)