For anybody getting an arithmetic overflow error in Microsoft.Data.Schema.TSqlTasks.targets in Visual Studio 2010, what resolved the problem for me was deleting the schema comparison file in my database project and then getting it from TFS again. I guess it must have been corrupted somehow.
UPDATE: That only worked temporarily, the error came back when getting latest from TFS and alternatively when opening a schema comparison in a different database project. Ugh.