Fixed building with Visual Studio 2010

This commit is contained in:
Sam Lantinga committed 2023-01-09 18:30:23 -08:00
1 parent 9fa55d9cab
commit 56522034db
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ SDL_GetPerformanceFrequency(void)
void SDL_DelayNS(Uint64 ns)
{
const Uint64 max_delay = 0x7fffffffLLU * SDL_NS_PER_US;
const Uint64 max_delay = 0x7fffffffLL * SDL_NS_PER_US;
if (ns > max_delay) {
ns = max_delay;
}
+1 -1
View File
@@ -50,7 +50,7 @@ SDL_GetPerformanceFrequency(void)
void SDL_DelayNS(Uint64 ns)
{
const Uint64 max_delay = 0xffffffffLLU * SDL_NS_PER_US;
const Uint64 max_delay = 0xffffffffLL * SDL_NS_PER_US;
if (ns > max_delay) {
ns = max_delay;
}
+1 -1
View File
@@ -43,7 +43,7 @@ SDL_GetPerformanceFrequency(void)
void SDL_DelayNS(Uint64 ns)
{
const Uint64 max_delay = 0xffffffffLLU * SDL_NS_PER_US;
const Uint64 max_delay = 0xffffffffLL * SDL_NS_PER_US;
if (ns > max_delay) {
ns = max_delay;
}
+1 -1
View File
@@ -73,7 +73,7 @@ void SDL_DelayNS(Uint64 ns)
#endif
{
const Uint64 max_delay = 0xffffffffLLU * SDL_NS_PER_MS;
const Uint64 max_delay = 0xffffffffLL * SDL_NS_PER_MS;
if (ns > max_delay) {
ns = max_delay;
}