mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-23 22:49:09 +00:00
(svn r2649) Get rid of 2 warnings.
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user