From 1814447e666da0be0f2ae9c3e6606e0dacd44e3e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 Sep 2015 20:01:03 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15176 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Toaster/Toaster.vcxproj | 16 +++++----------- plugins/Toaster/src/toast_notification.cpp | 2 +- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'plugins/Toaster') 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 @@ - + $(VC_IncludePath);$(WindowsSdk_IncludePath); $(VC_LibraryPath_x86);$(WindowsSdk_LibraryPath_x86); - + $(VC_IncludePath);$(WindowsSdk_IncludePath); $(VC_LibraryPath_x64);$(WindowsSdk_LibraryPath_x64); - - $(VC_IncludePath);$(WindowsSdk_IncludePath); - $(VC_LibraryPath_x64);$(WindowsSdk_LibraryPath_x64); - - - $(VC_IncludePath);$(WindowsSdk_IncludePath); - $(VC_LibraryPath_x86);$(WindowsSdk_LibraryPath_x86); - + + Sync + delayimp.lib;runtimeobject.lib;%(AdditionalDependencies) API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL;API-MS-WIN-CORE-WINRT-L1-1-0.DLL;%(DelayLoadDLLs) @@ -51,7 +46,6 @@ MultiThreaded - Sync /PDBALTPATH:%_PDB% 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); } -- cgit v1.2.3