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
diff --git a/win/rfb_win32/Service.cxx b/win/rfb_win32/Service.cxx
index 2547277..982a5b3 100644
--- a/win/rfb_win32/Service.cxx
+++ b/win/rfb_win32/Service.cxx
@@ -384,7 +384,7 @@
// -=- Registering and unregistering the service
bool rfb::win32::registerService(const TCHAR* name, const TCHAR* desc,
- int argc, const char* argv[]) {
+ int argc, char** argv) {
// - Initialise the default service parameters
const TCHAR* defaultcmdline;
diff --git a/win/rfb_win32/Service.h b/win/rfb_win32/Service.h
index 00abe10..198726c 100644
--- a/win/rfb_win32/Service.h
+++ b/win/rfb_win32/Service.h
@@ -105,7 +105,7 @@
// event source information, etc.
// *** should really accept TCHAR argv
- bool registerService(const TCHAR* name, const TCHAR* desc, int argc, const char* argv[]);
+ bool registerService(const TCHAR* name, const TCHAR* desc, int argc, char** argv);
bool unregisterService(const TCHAR* name);
bool startService(const TCHAR* name);