scanHexInt takes an unsigned int pointer. Even though it's ignored, fix the typing to avoid a compiler error (and possible NULL reference?).