Best to add an (int) cast here too, in case e.g. string content comes in.