I suspect you realize that 2^31 is 2147483648. I suspect an overflow somewhere. It would be real interesting to find out where this is coming from. H