aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index c746bfcb2..580ceb560 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -2095,7 +2095,7 @@ public:
char *SetWords(const char *s) {
words = std::vector<char>(s, s+strlen(s)+1);
- return words.data();
+ return &words[0];
}
};