Remove extra cast. `ch' is already of type `char *'. This unbreaks the build with xlc on AIX.
Added sscanf() function.
12345