o_0 do you mean?
int32_t i = static_cast< int32_t >( inp.tellg());