aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/ControlPanel.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-23 20:08:43 +0100
committerPierre Ossman <ossman@cendio.se>2023-02-04 14:03:13 +0100
commit818694ba6aed9eb4034ede40d9fdcce84b077933 (patch)
treef74d709cf7455efce292606f09d3e944ed74c7d6 /win/winvnc/ControlPanel.cxx
parent51347ef875085957a36477284112dc51b6cbd990 (diff)
downloadtigervnc-818694ba6aed9eb4034ede40d9fdcce84b077933.tar.gz
tigervnc-818694ba6aed9eb4034ede40d9fdcce84b077933.zip
Use string literal instead of dynamic buffer
These don't need to be changed, so let's just keep it simple with a constant string literal.
Diffstat (limited to 'win/winvnc/ControlPanel.cxx')
-rw-r--r--win/winvnc/ControlPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/winvnc/ControlPanel.cxx b/win/winvnc/ControlPanel.cxx
index ff4a63a1..1b3c40eb 100644
--- a/win/winvnc/ControlPanel.cxx
+++ b/win/winvnc/ControlPanel.cxx
@@ -88,7 +88,7 @@ void ControlPanel::UpdateListView(ListConnInfo* LCInfo)
ListConn.Copy(LCInfo);
- char* ItemString[2];
+ const char* ItemString[2];
int i = 0;
for (ListConn.iBegin(); !ListConn.iEnd(); ListConn.iNext()) {