diff options
Diffstat (limited to 'shell/source/win32/shlxthandler/ooofilt/propspec.cxx')
-rw-r--r-- | shell/source/win32/shlxthandler/ooofilt/propspec.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/propspec.cxx b/shell/source/win32/shlxthandler/ooofilt/propspec.cxx index 88a194e9a603..222c9342d9ea 100644 --- a/shell/source/win32/shlxthandler/ooofilt/propspec.cxx +++ b/shell/source/win32/shlxthandler/ooofilt/propspec.cxx @@ -149,7 +149,7 @@ BOOL CFullPropSpec::SetProperty( WCHAR const * wcsProperty ) CoTaskMemFree( _psProperty.lpwstr ); } _psProperty.ulKind = PRSPEC_LPWSTR; - int len = (int) ( (wcslen( wcsProperty ) + 1) * sizeof( WCHAR ) ); + int len = static_cast<int>( (wcslen( wcsProperty ) + 1) * sizeof( WCHAR ) ); _psProperty.lpwstr = static_cast<WCHAR *>(CoTaskMemAlloc( len )); if ( nullptr != _psProperty.lpwstr ) { |