Remove all MSVC __int64 (#742)
This commit is contained in:
@@ -15,7 +15,7 @@ typedef shared_ptr<Packet> (*packetCreateFn)();
|
||||
class Packet
|
||||
{
|
||||
public:
|
||||
class PacketStatistics
|
||||
class PacketStatistics
|
||||
{
|
||||
private:
|
||||
int count;
|
||||
@@ -24,9 +24,9 @@ public:
|
||||
static const int TOTAL_TICKS = 100;
|
||||
|
||||
// 4J Added
|
||||
__int64 countSamples[TOTAL_TICKS];
|
||||
__int64 sizeSamples[TOTAL_TICKS];
|
||||
__int64 timeSamples[TOTAL_TICKS];
|
||||
int64_t countSamples[TOTAL_TICKS];
|
||||
int64_t sizeSamples[TOTAL_TICKS];
|
||||
int64_t timeSamples[TOTAL_TICKS];
|
||||
int samplesPos;
|
||||
|
||||
public:
|
||||
@@ -38,8 +38,8 @@ public:
|
||||
int getCount();
|
||||
int getTotalSize();
|
||||
double getAverageSize();
|
||||
__int64 getRunningTotal();
|
||||
__int64 getRunningCount();
|
||||
int64_t getRunningTotal();
|
||||
int64_t getRunningCount();
|
||||
void IncrementPos();
|
||||
};
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
static void map(int id, bool receiveOnClient, bool receiveOnServer, bool sendToAnyClient, bool renderStats, const type_info& clazz, packetCreateFn );
|
||||
|
||||
public:
|
||||
const __int64 createTime;
|
||||
const int64_t createTime;
|
||||
|
||||
Packet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user