Reduce compiler warnings (string cast)