From 1a40a272bdb8a0dfca430bc1092c8780e45862ce Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 15 Jan 2018 13:08:23 +0100 Subject: [PATCH] [util] Fixed compiler issue with older GCC versions --- src/util/util_env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util_env.cpp b/src/util/util_env.cpp index 4da507e3..8998b43f 100644 --- a/src/util/util_env.cpp +++ b/src/util/util_env.cpp @@ -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);