[mythtv-commits] mythtv/master commit: 60e7634b6 by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Fri Aug 19 07:52:20 UTC 2011


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2011-08-19T00:51:49-07:00
   Push Date:  2011/08/19 00:52:12 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  60e7634b67ad6270210c1dfb5a83f26ab65d81b1
   Changeset:  https://github.com/MythTV/mythtv/commit/60e7634b6

Log:

Fix compilation for Windows

Changed the static_cast<uint64_t> to (uint64_t) -- a C-style cast -- as it
works on both Linux and Windows in the intended way.

Also, added PREFIX64 to replace "%llX" with "%I64X" and "%lld" with "%I64d"
on mingw (Windows) builds.  Seems the MS Runtime doesn't do 64-bit in the same
way as glibc.  Figures.  See:
http://msdn.microsoft.com/en-us/library/tcxf1dw6(v=vs.71).aspx

Fixes #9996

Modified:

   mythtv/libs/libmythbase/logging.cpp



More information about the mythtv-commits mailing list