mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-05 02:36:20 +01:00
(svn r2649) Get rid of 2 warnings.
This commit is contained in:
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
|
// Utility function to get the current timestamp in milliseconds
|
||||||
// Useful for profiling
|
// Useful for profiling
|
||||||
int64 GetTS()
|
int64 GetTS(void)
|
||||||
{
|
{
|
||||||
static double freq;
|
static double freq;
|
||||||
__int64 value;
|
__int64 value;
|
||||||
@ -2309,4 +2309,4 @@ int64 GetTS()
|
|||||||
}
|
}
|
||||||
QueryPerformanceCounter((LARGE_INTEGER*)&value);
|
QueryPerformanceCounter((LARGE_INTEGER*)&value);
|
||||||
return (__int64)(value * freq);
|
return (__int64)(value * freq);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user