MINGW-packages/mingw-w64-soci/soci-tests-catch.patch
2024-01-23 08:07:35 +08:00

12 lines
297 B
Diff

--- a/tests/catch.hpp
+++ b/tests/catch.hpp
@@ -7170,7 +7170,7 @@
namespace Catch {
struct RandomNumberGenerator {
- typedef std::ptrdiff_t result_type;
+ typedef std::size_t result_type;
result_type operator()( result_type n ) const { return std::rand() % n; }