fixed warning with offset signed int.