Fixed guard evaluation with char*