-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
I now see
../src/libutil/windows/environment-variables.cc:17:24: warning: narrowing conversion of ‘bufferSize’ from ‘DWORD’ {aka ‘long unsigned int’} to ‘wchar_t’ [-Wnarrowing]
17 | std::wstring value{bufferSize, L'\0'};
in Windows builds, but in 355f08a we explicitly flipped it to fix a Clang MinGW warning.
Does the right argument order depend on the C++ standard library implementation? What is going on!
CC @puffnfresh