[mythtv-commits] Ticket #5693: time_t var brokenDown might want to init tm_gmtoff and tm_zone
MythTV
mythtv at cvs.mythtv.org
Wed Dec 24 18:59:07 UTC 2008
#5693: time_t var brokenDown might want to init tm_gmtoff and tm_zone
---------------------------------------------+------------------------------
Reporter: Erik Hovland <erik at hovland.org> | Owner: ijr
Type: defect | Status: infoneeded_new
Priority: trivial | Milestone: unknown
Component: mythtv | Version: head
Severity: low | Resolution:
Mlocked: 0 |
---------------------------------------------+------------------------------
Comment(by Erik Hovland <erik at hovland.org>):
I have resubmitted the patch to initialize those two fields with more sane
values. Please keep the cast there as this is required for 64-bit
correctness. This is because in C++ null evaluates to 0 which is then
turned into a uint32_t. If it isn't cast then the compiler is welcome to
put any bits it wants into the upper 32-bits on 64-bit OSes.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5693#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list