mirror of
https://github.com/ioquake/jedi-academy.git
synced 2024-11-29 07:22:23 +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
|
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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue