DRTVWR-575: GCC prefers std::make_signed<std::size_t> for llssize.

meow-7.2.2
Nat Goodspeed 2023-06-01 11:34:48 -04:00
parent 7d05ade3f1
commit 364516e8bc
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ typedef unsigned int U32;
// to express an index that might go negative
// (ssize_t is provided by SOME compilers, don't collide)
typedef typename std::make_signed<size_t>::type llssize;
typedef typename std::make_signed<std::size_t>::type llssize;
#if LL_WINDOWS
// https://docs.microsoft.com/en-us/cpp/build/reference/zc-wchar-t-wchar-t-is-native-type