Ignore:
Timestamp:
09/09/23 15:12:57 (14 months ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/Convert.cpp

    r1130 r1274  
    155155        wstring wstr;
    156156        int nOffset = 0;
    157         int nDataLen = strlen(str); //ending \0 is not converted, but resize() below sets the proper length of wstr
     157        int nDataLen = (int)strlen(str); //ending \0 is not converted, but resize() below sets the proper length of wstr
    158158        int nLenWide = MultiByteToWideChar(CP_UTF8, 0, (LPCSTR)(str + nOffset),
    159159                (int)(nDataLen - nOffset), NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.