hi, i am not a guru in c language, but i think that you are trying to convert character data type to integer data type in that case as much i know i think that it is not going to be happen, because character data type value could not be convert in integer !
http://graphicriver.net/item/flat-web-font-icons/*2457*66