aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-06-25 11:24:27 +0000
committerAdam Tkac <atkac@redhat.com>2010-06-25 11:24:27 +0000
commit8fb6ac0e9909417b9cddaf93ca9840dd7bbe1ce1 (patch)
tree50658e653fa483d62de06d3eac289f7a69aa2cee /win/winvnc
parente450dc442ee54f04a2b23716aacdde2b903271af (diff)
downloadtigervnc-8fb6ac0e9909417b9cddaf93ca9840dd7bbe1ce1.tar.gz
tigervnc-8fb6ac0e9909417b9cddaf93ca9840dd7bbe1ce1.zip
winvnc: Declare argv as "char**" instead of "const *char[]"
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4073 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/winvnc')
-rw-r--r--win/winvnc/winvnc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx
index 73baf6e8..63d8b4e8 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -99,7 +99,7 @@ static void MsgBoxOrLog(const char* msg, bool isError=false) {
}
}
-static void processParams(int argc, const char* argv[]) {
+static void processParams(int argc, char** argv) {
for (int i=1; i<argc; i++) {
try {
@@ -218,7 +218,7 @@ static void processParams(int argc, const char* argv[]) {
// -=- main
//
-int main(int argc, const char* argv[]) {
+int main(int argc, char** argv) {
int result = 0;
try {