__int64 -> int64_t

This commit is contained in:
Jonathan Gray 2013-04-25 14:36:56 +10:00
parent 46c9f91703
commit d140164808
1 changed files with 6 additions and 6 deletions

View File

@ -2,8 +2,8 @@
class timing_c class timing_c
{ {
private: private:
__int64 start; int64_t start;
__int64 end; int64_t end;
int reset; int reset;
public: public:
@ -12,7 +12,7 @@ public:
} }
void Start() void Start()
{ {
const __int64 *s = &start; const int64_t *s = &start;
__asm __asm
{ {
push eax push eax
@ -31,8 +31,8 @@ public:
} }
int End() int End()
{ {
const __int64 *e = &end; const int64_t *e = &end;
__int64 time; int64_t time;
#ifndef __linux__ #ifndef __linux__
__asm __asm
{ {
@ -58,4 +58,4 @@ public:
return((int)time); return((int)time);
} }
}; };
// end // end