aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/IsInf.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-08-28 16:39:32 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-08-28 16:39:32 +0000
commit44edb0bd0c56483d6a7c473704d70ab67611d371 (patch)
tree2954f3ece29d4c576f2dbc6e79c142efb0a8a43e /lib/Support/IsInf.cpp
parent885b661e1004978f39cd1d74e586f193dfc0b0a6 (diff)
Don't cast Win32 FILETIME structs to int64. Patch by Dimitry Andric!
According to the Microsoft documentation here: http://msdn.microsoft.com/en-us/library/ms724284%28VS.85%29.aspx this cast used in lib/System/Win32/Path.inc: __int64 ft = *reinterpret_cast<__int64*>(&fi.ftLastWriteTime); should not be done. The documentation says: "Do not cast a pointer to a FILETIME structure to either a ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/IsInf.cpp')
0 files changed, 0 insertions, 0 deletions