monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Build error on mingw, test failure on mac os x


From: Zack Weinberg
Subject: Re: [Monotone-devel] Build error on mingw, test failure on mac os x
Date: Sun, 15 Jul 2007 11:29:12 -0700

On 7/15/07, Richard Levitte <address@hidden> wrote:
kfh> [Kelly F. Hickel] vs 2005 seems to, can't remember for certain
kfh> about vs 2003:

Personal experience with OpenSSL since 1999 says that all VS versions
since then do understand LL.

Oh good.  In that case, Justin, would you please try the appended
patch and commit it if it works?

zw

#
# old_revision [21bf264244830c6e15fdc4ad7c9569bfc6286ac6]
#
# patch "tester.cc"
#  from [784e73cacdfaf6ec8f19ebdfd3c65ec3a9331612]
#    to [03f8272735c6f43c22002780af08c7bb0d776525]
#
============================================================
--- tester.cc   784e73cacdfaf6ec8f19ebdfd3c65ec3a9331612
+++ tester.cc   03f8272735c6f43c22002780af08c7bb0d776525
@@ -100,7 +100,7 @@ time_t get_last_write_time(string const
  // Unix: seconds since 12:00 AM, January 1, 1970 UTC.  The offset is
  // taken verbatim from MSDN.
  LONGLONG ft64 = ((LONGLONG)ft.dwHighDateTime) << 32 + ft.dwLowDateTime;
-  return (time_t)((ft64/10000000) - 11644473600);
+  return (time_t)((ft64/10000000LL) - 11644473600LL);

#else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]