try to fix treatment of unsigned vars in Scanf