1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 07:24:12 +01:00

[util] Fixed compiler issue with older GCC versions

This commit is contained in:
Philip Rebohle 2018-01-15 13:08:23 +01:00
parent 86db5aab67
commit 1a40a272bd
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -12,7 +12,7 @@ namespace dxvk::env {
while (len > result.size()) {
result.resize(len);
len = ::GetEnvironmentVariableW(
name, result.data(), result.size());
name, &result.at(0), result.size());
}
result.resize(len);