mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-25 05:31:50 +00:00
__int64 -> int64_t
This commit is contained in:
parent
46c9f91703
commit
d140164808
1 changed files with 6 additions and 6 deletions
|
@ -2,8 +2,8 @@
|
|||
class timing_c
|
||||
{
|
||||
private:
|
||||
__int64 start;
|
||||
__int64 end;
|
||||
int64_t start;
|
||||
int64_t end;
|
||||
|
||||
int reset;
|
||||
public:
|
||||
|
@ -12,7 +12,7 @@ public:
|
|||
}
|
||||
void Start()
|
||||
{
|
||||
const __int64 *s = &start;
|
||||
const int64_t *s = &start;
|
||||
__asm
|
||||
{
|
||||
push eax
|
||||
|
@ -31,8 +31,8 @@ public:
|
|||
}
|
||||
int End()
|
||||
{
|
||||
const __int64 *e = &end;
|
||||
__int64 time;
|
||||
const int64_t *e = &end;
|
||||
int64_t time;
|
||||
#ifndef __linux__
|
||||
__asm
|
||||
{
|
||||
|
@ -58,4 +58,4 @@ public:
|
|||
return((int)time);
|
||||
}
|
||||
};
|
||||
// end
|
||||
// end
|
||||
|
|
Loading…
Reference in a new issue