Compilation issues fixed
authorAlex Kirhenshtein <alk@netxms.org>
Mon, 3 Jun 2013 10:47:21 +0000 (10:47 +0000)
committerAlex Kirhenshtein <alk@netxms.org>
Mon, 3 Jun 2013 10:47:21 +0000 (10:47 +0000)
src/server/core/smclp.cpp

index 66902d5..1bf6cd5 100644 (file)
@@ -61,8 +61,8 @@ bool SMCLP_Connection::connect(const TCHAR *login, const TCHAR *password)
       char *_login = UTF8StringFromWideString(login);\r
       char *_password = UTF8StringFromWideString(password);\r
 #else\r
-      char *_login = login;\r
-      char *_password = password;\r
+      const char *_login = login;\r
+      const char *_password = password;\r
 #endif\r
 \r
       if (m_conn->waitForText(":", m_timeout))\r