From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Sat, 02 May 2020 21:48:36 +0000
Subject: [PATCH] Update source to SDL2 2.0.12
---
source/src/test/SDL_test_fuzzer.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/source/src/test/SDL_test_fuzzer.c b/source/src/test/SDL_test_fuzzer.c
index eee56a9..458d934 100644
--- a/source/src/test/SDL_test_fuzzer.c
+++ b/source/src/test/SDL_test_fuzzer.c
@@ -1,6 +1,6 @@
/*
Simple DirectMedia Layer
- Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
+ Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -307,7 +307,7 @@
/* max value for Uint64 */
const Uint64 maxValue = UINT64_MAX;
return SDLTest_GenerateUnsignedBoundaryValues(maxValue,
- (Uint64) boundary1, (Uint64) boundary2,
+ boundary1, boundary2,
validDomain);
}
@@ -457,7 +457,7 @@
float
SDLTest_RandomFloat()
{
- return (float) (SDLTest_RandomUnitDouble() * (double)2.0 * (double)FLT_MAX - (double)(FLT_MAX));
+ return (float) (SDLTest_RandomUnitDouble() * 2.0 * (double)FLT_MAX - (double)(FLT_MAX));
}
double
--
Gitblit v1.9.3