Do not use void pointers in pointer arithmethic
Use correct format specifier in sscanf() for parsing unsigned ints