Fixed a compilation issue when assign takes both integers, in VS2010 compiler