[MC] Replace comparison with isUInt<32>.
authorDavid Majnemer <david.majnemer@gmail.com>
Fri, 4 Sep 2015 07:22:36 +0000 (07:22 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Fri, 4 Sep 2015 07:22:36 +0000 (07:22 +0000)
commite9fc16d638772f278ac028c1acafa149fd4dec2c
treeb50cfc8c6bf9f07d2b021e8a34146d6b52d63bf4
parent25059fcca033e9a9e65a31c1209d4ab3d354e38f
[MC] Replace comparison with isUInt<32>.

Casting to unsigned long can cause the time to get truncated to 32-bits,
making it appear to be a valid timestamp.  Just use isUInt<32> instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246840 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp