Fixed the prototype for sscanf, first arg should be const char *.