~mingw-w64/mingw-w64/trunk+ddk

Viewing all changes in revision 1565.

  • Committer: sezero
  • Date: 2010-04-20 10:24:40 UTC
  • Revision ID: svn-v4:4407c894-4637-0410-b4f5-ada5f102cad1:trunk:2259
2010-04-20  Ozkan Sezer  <sezeroz@gmail.com>

        * misc/gettimeofday.c (FILETIME_1970): Change from 11644473600ull
        to 116444736000000000ull as in the mingw.org version, fixing the
        issue reported by Patrick Galbraith.
        (getntptimeofday): Use a union of unsigned long long and FILETIME
        instead of ULARGE_INTEGER, as in the mingw.org version, to fix the
        strict aliasing violations reported by -Wstrict-aliasing=2.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: