Changeset 21353 for trunk/src/advapi32/security.c
- Timestamp:
- Feb 21, 2010, 5:30:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/advapi32/security.c
r21325 r21353 1092 1092 1093 1093 sz = 14 + pisid->SubAuthorityCount * 11; 1094 str = LocalAlloc( 0, sz*sizeof(WCHAR) );1094 str = (LPWSTR)LocalAlloc( 0, sz*sizeof(WCHAR) ); 1095 1095 sprintfW( str, fmt, pisid->Revision, MAKELONG( 1096 1096 MAKEWORD( pisid->IdentifierAuthority.Value[5], … … 1120 1120 1121 1121 len = WideCharToMultiByte( CP_ACP, 0, wstr, -1, NULL, 0, NULL, NULL ); 1122 str = LocalAlloc( 0, len );1122 str = (LPSTR)LocalAlloc( 0, len ); 1123 1123 WideCharToMultiByte( CP_ACP, 0, wstr, -1, str, len, NULL, NULL ); 1124 LocalFree( wstr );1124 LocalFree( (HANDLE)wstr ); 1125 1125 1126 1126 *pstr = str;
Note:
See TracChangeset
for help on using the changeset viewer.