phash: compiler warnings