cbuchner1/CudaMiner — pull request #68 by erkmos (2014-01-19 14:16:22+00:00)
Title: gettimeofday fix

GetSystemTimeAsFileTime gives the time in 100s of nanoseconds since 1 jan 1600 and the code accounts for that. But the difference to epoch time is in microseconds and is subtracted before the conversion of GetSystemTimeAsFileTime to microseconds. This causes an integer overflow on windows 7 x64 (only tested there).