mirror of https://github.com/OpenTTD/OpenTTD
(svn r2649) Get rid of 2 warnings.
parent
951cde5b72
commit
f432314fa9
4
win32.c
4
win32.c
|
@ -2299,7 +2299,7 @@ void CSleep(int milliseconds)
|
|||
|
||||
// Utility function to get the current timestamp in milliseconds
|
||||
// Useful for profiling
|
||||
int64 GetTS()
|
||||
int64 GetTS(void)
|
||||
{
|
||||
static double freq;
|
||||
__int64 value;
|
||||
|
@ -2309,4 +2309,4 @@ int64 GetTS()
|
|||
}
|
||||
QueryPerformanceCounter((LARGE_INTEGER*)&value);
|
||||
return (__int64)(value * freq);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue