A variance is immaterial???and hence not prejudicial??? where the allegation and proof substantially correspond, where the variance is not of a character that could have misled the defendant at the trial, and where the variance is not such as to deprive the accused of his right to be protected against another prosecution for the same offense.