fixed Windows build error; intermediate release 2.1-M2-47
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 27 Jan 2017 14:57:07 +0000 (16:57 +0200)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 27 Jan 2017 14:57:07 +0000 (16:57 +0200)
src/db/dbdrv/db2/db2.cpp
src/install/windows/netxms-x64-minimal.iss
src/install/windows/setup.iss

index 34c4bd0..5c7751c 100644 (file)
@@ -433,7 +433,7 @@ extern "C" void EXPORT DrvBind(DB2DRV_STATEMENT *statement, int pos, int sqlType
          if (cType == DB_CTYPE_UTF8_STRING)
          {
             sqlBuffer = WideStringFromUTF8String((char *)buffer);
-            length = (int)wcslen((char *)sqlBuffer) + 1;
+            length = (int)wcslen((WCHAR *)sqlBuffer) + 1;
          }
          else
          {
index 0e6485d..cbe9f24 100644 (file)
@@ -1,7 +1,7 @@
 ; Installation script for NetXMS Server / Windows x64
 
 #include "setup.iss"
-OutputBaseFilename=netxms-2.1-M2-45-x64-minimal
+OutputBaseFilename=netxms-2.1-M2-47-x64-minimal
 ArchitecturesInstallIn64BitMode=x64
 ArchitecturesAllowed=x64
 
index 0021f61..559c880 100644 (file)
@@ -1,7 +1,7 @@
 [Setup]
 AppName=NetXMS
-AppVerName=NetXMS 2.1-M2-45
-AppVersion=2.1-M2-45
+AppVerName=NetXMS 2.1-M2-47
+AppVersion=2.1-M2-47
 AppPublisher=Raden Solutions
 AppPublisherURL=http://www.radensolutions.com
 AppSupportURL=http://www.netxms.org