Skip to content

Commit c340968

Browse files
committed
Improve comment text
1 parent c84c6c9 commit c340968

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Generals/Code/GameEngine/Source/Common/Recorder.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ const char *replayExtention = ".rep";
5757
const char *lastReplayFileName = "00000000"; // a name the user is unlikely to ever type, but won't cause panic & confusion
5858

5959
// 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.
6464
typedef int32_t replay_time_t;
6565

6666
static time_t startTime;

GeneralsMD/Code/GameEngine/Source/Common/Recorder.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ const char *replayExtention = ".rep";
5757
const char *lastReplayFileName = "00000000"; // a name the user is unlikely to ever type, but won't cause panic & confusion
5858

5959
// 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.
6464
typedef int32_t replay_time_t;
6565

6666
static time_t startTime;

0 commit comments

Comments
 (0)