on master help sign in
Fix build on Windows (#423)
commitf717cd443bf3db5fbd8e841a9f12c475713c3237 authorNeil Mitchell <ndmitchell@gmail.com> dateWed 12 Feb 2020, 08:02 (7 years ago) parent12b21f7
1 file changed+2−2
src/Development/IDE/Core/FileStore.hs+2−2
src/Development/IDE/Core/FileStore.hs+2−2
@@ -120,8 +120,8 @@ getModificationTimeRule vfs =
120120 getModTime f =
121121#ifdef mingw32_HOST_OS
122122 do time <- Dir.getModificationTime f
123− let !day = toModifiedJulianDay $ utctDay time
124− !dayTime = diffTimeToPicoseconds $ utctDayTime time
123+ let !day = fromInteger $ toModifiedJulianDay $ utctDay time
124+ !dayTime = fromInteger $ diffTimeToPicoseconds $ utctDayTime time
125125 pure (day, dayTime)
126126#else
127127 withCString f $ \f' ->