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:
parent
86db5aab67
commit
1a40a272bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user