summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-src_osgEarth_catch.hpp
blob: f92d1840daa7e5b45e9c054c7d02e7cfe31aa89b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/osgEarth/catch.hpp.orig	2023-07-17 06:00:01 UTC
+++ src/osgEarth/catch.hpp
@@ -6523,7 +6523,7 @@ namespace Catch {
 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; }