Fix IP::toLong() conversion 

it always yielded a static (wrong) value causing code like Range::count() to return 0 instead of an actual size of the range :)