Commits

mattip committed f1aae6a

simplify

Comments (0)

Files changed (1)

pypy/rpython/module/ll_os_stat.py

     return intmask(time), intmask(nsec)
 
 def time_t_to_FILE_TIME(time, filetime):
-    ft = rffi.r_longlong(time * 10000000) + secs_between_epochs * 10000000
+    ft = rffi.r_longlong((time + secs_between_epochs) * 10000000)
     filetime.c_dwHighDateTime = rffi.r_uint(ft >> 32)
     filetime.c_dwLowDateTime = rffi.r_uint(ft)    # masking off high bits