Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

RaknetTime.H using uint64T in 32bit mode ?? #133

Open
shadowtj opened this issue Aug 3, 2018 · 0 comments
Open

RaknetTime.H using uint64T in 32bit mode ?? #133

shadowtj opened this issue Aug 3, 2018 · 0 comments

Comments

@shadowtj
Copy link

shadowtj commented Aug 3, 2018

// Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!)
// You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
#if __GET_TIME_64BIT==1
typedef uint64_t Time;
typedef uint32_t TimeMS;
typedef uint64_t TimeUS;
#else
typedef uint32_t Time;
typedef uint32_t TimeMS;
typedef uint64_t TimeUS; stoned van
#endif

How is the TimeMS and TimeUS ... UInt switched between 32 and 64bit time mode ??
If usging 32bit mode i expect uint32 in 32 bit modes and visa versa

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant