libnxsrv and nxcore moved to VS2005 (nxcore cannot be linked because libnxsl not...
[public/netxms.git] / src / server / core / netinfo.cpp
index 181f0eb..df617ce 100644 (file)
@@ -265,7 +265,7 @@ static INTERFACE_LIST *SysGetLocalIfList(void)
          // Get network connection name from adapter name, if possible
          if (imp_HrLanConnectionNameFromGuidOrPath != NULL)
          {
-            WORD wGUID[256], wName[256];
+            WCHAR wGUID[256], wName[256];
 
             // Resolve GUID to network connection name
             MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, pInfo->AdapterName, -1, wGUID, 256);