mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[util] Fixed compiler issue with older GCC versions
This commit is contained in:
parent
86db5aab67
commit
1a40a272bd
@ -12,7 +12,7 @@ namespace dxvk::env {
|
|||||||
while (len > result.size()) {
|
while (len > result.size()) {
|
||||||
result.resize(len);
|
result.resize(len);
|
||||||
len = ::GetEnvironmentVariableW(
|
len = ::GetEnvironmentVariableW(
|
||||||
name, result.data(), result.size());
|
name, &result.at(0), result.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
result.resize(len);
|
result.resize(len);
|
||||||
|
Loading…
Reference in New Issue
Block a user