diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-03 20:01:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-03 20:01:03 +0000 |
commit | 1814447e666da0be0f2ae9c3e6606e0dacd44e3e (patch) | |
tree | 0101ac40d890e01d075bf60ae31dabed184f9bd2 /plugins/Toaster | |
parent | 5a14cacb717cd2fe9c91abed83dc636ba1aec7d5 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@15176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster')
-rw-r--r-- | plugins/Toaster/Toaster.vcxproj | 16 | ||||
-rw-r--r-- | plugins/Toaster/src/toast_notification.cpp | 2 |
2 files changed, 6 insertions, 12 deletions
diff --git a/plugins/Toaster/Toaster.vcxproj b/plugins/Toaster/Toaster.vcxproj index 8784acd268..32718b8da4 100644 --- a/plugins/Toaster/Toaster.vcxproj +++ b/plugins/Toaster/Toaster.vcxproj @@ -26,23 +26,18 @@ <ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\build\vc.common\plugin.props" />
</ImportGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+ <PropertyGroup Condition="'$(Platform)'=='Win32'">
<IncludePath>$(VC_IncludePath);$(WindowsSdk_IncludePath);</IncludePath>
<LibraryPath>$(VC_LibraryPath_x86);$(WindowsSdk_LibraryPath_x86);</LibraryPath>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <PropertyGroup Condition="'$(Platform)'=='x64'">
<IncludePath>$(VC_IncludePath);$(WindowsSdk_IncludePath);</IncludePath>
<LibraryPath>$(VC_LibraryPath_x64);$(WindowsSdk_LibraryPath_x64);</LibraryPath>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
- <IncludePath>$(VC_IncludePath);$(WindowsSdk_IncludePath);</IncludePath>
- <LibraryPath>$(VC_LibraryPath_x64);$(WindowsSdk_LibraryPath_x64);</LibraryPath>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
- <IncludePath>$(VC_IncludePath);$(WindowsSdk_IncludePath);</IncludePath>
- <LibraryPath>$(VC_LibraryPath_x86);$(WindowsSdk_LibraryPath_x86);</LibraryPath>
- </PropertyGroup>
<ItemDefinitionGroup>
+ <ClCompile>
+ <ExceptionHandling>Sync</ExceptionHandling>
+ </ClCompile>
<Link>
<AdditionalDependencies>delayimp.lib;runtimeobject.lib;%(AdditionalDependencies)</AdditionalDependencies>
<DelayLoadDLLs>API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL;API-MS-WIN-CORE-WINRT-L1-1-0.DLL;%(DelayLoadDLLs)</DelayLoadDLLs>
@@ -51,7 +46,6 @@ <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
<ClCompile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
- <ExceptionHandling>Sync</ExceptionHandling>
</ClCompile>
<Link>
<AdditionalOptions Condition="'$(VisualStudioVersion)' == '12.0'">/PDBALTPATH:%_PDB%</AdditionalOptions>
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index 70bd8865ca..4eb83adca4 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -56,7 +56,7 @@ HRESULT ToastNotification::CreateXml(_Outptr_ ABI::Windows::Data::Xml::Dom::IXml xmlDestroyNode(xmlToast);
- CHECKHR(xmlDocument->LoadXml(StringReferenceWrapper(xtmp, xlen).Get()));
+ CHECKHR(xmlDocument->LoadXml(StringReferenceWrapper(xtmp, (UINT32)xlen).Get()));
return xmlDocument.CopyTo(xml);
}
|