File tree 2 files changed +8
-8
lines changed
Generals/Code/GameEngine/Source/Common
GeneralsMD/Code/GameEngine/Source/Common
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ const char *replayExtention = ".rep";
57
57
const char *lastReplayFileName = " 00000000" ; // a name the user is unlikely to ever type, but won't cause panic & confusion
58
58
59
59
// TheSuperHackers @tweak helmutbuhler 25/04/2025
60
- // The replay header contains two time elements startTime and endTime of type time_t.
61
- // On VC6 this was 32- bit, but on newer compilers it's 64- bit. In order to remain compatible
62
- // we need to load and save them as 32-bit and use this type for that .
63
- // Note that this will overflow on January 18, 2038.
60
+ // The replay header contains two time fields; startTime and endTime of type time_t.
61
+ // time_t is 32 bit wide on VC6 , but on newer compilers it is 64 bit wide.
62
+ // In order to remain compatible we need to load and save time values with 32 bits .
63
+ // Note that this will overflow on January 18, 2038. @todo Upgrade to 64 bits when we break compatibility.
64
64
typedef int32_t replay_time_t ;
65
65
66
66
static time_t startTime;
Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ const char *replayExtention = ".rep";
57
57
const char *lastReplayFileName = " 00000000" ; // a name the user is unlikely to ever type, but won't cause panic & confusion
58
58
59
59
// TheSuperHackers @tweak helmutbuhler 25/04/2025
60
- // The replay header contains two time elements startTime and endTime of type time_t.
61
- // On VC6 this was 32- bit, but on newer compilers it's 64- bit. In order to remain compatible
62
- // we need to load and save them as 32-bit and use this type for that .
63
- // Note that this will overflow on January 18, 2038.
60
+ // The replay header contains two time fields; startTime and endTime of type time_t.
61
+ // time_t is 32 bit wide on VC6 , but on newer compilers it is 64 bit wide.
62
+ // In order to remain compatible we need to load and save time values with 32 bits .
63
+ // Note that this will overflow on January 18, 2038. @todo Upgrade to 64 bits when we break compatibility.
64
64
typedef int32_t replay_time_t ;
65
65
66
66
static time_t startTime;
You can’t perform that action at this time.
0 commit comments