(int)4294967295.0 = -1

fixed bug. VS2012 seems to be quite unstable.