diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 57d26a36a..634430ab5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -3358,7 +3358,7 @@ void ListBoxX::SetList(const char *list, char separator, char typesep) { Clear(); const size_t size = strlen(list); char *words = lti.SetWords(list); - char *startword = words; + const char *startword = words; char *numword = nullptr; for (size_t i=0; i < size; i++) { if (words[i] == separator) { |