diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Toaster/src/string_reference_wrapper.h | 2 | ||||
-rw-r--r-- | plugins/Toaster/src/toast_notification.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Toaster/src/string_reference_wrapper.h b/plugins/Toaster/src/string_reference_wrapper.h index d272ed14c7..4ce37d5245 100644 --- a/plugins/Toaster/src/string_reference_wrapper.h +++ b/plugins/Toaster/src/string_reference_wrapper.h @@ -25,7 +25,7 @@ public: template <size_t _>
StringReferenceWrapper(_In_reads_(_) wchar_t(&stringRef)[_]) throw()
{
- UINT32 length = wcslen(stringRef);
+ size_t length = wcslen(stringRef);
WindowsCreateStringReference(stringRef, length, &_header, &_hstring);
}
diff --git a/plugins/Toaster/src/toast_notification.cpp b/plugins/Toaster/src/toast_notification.cpp index fa3dcfa1ce..c3c4b506f4 100644 --- a/plugins/Toaster/src/toast_notification.cpp +++ b/plugins/Toaster/src/toast_notification.cpp @@ -186,7 +186,7 @@ HRESULT ToastNotification::CreateXml(_Outptr_ ABI::Windows::Data::Xml::Dom::IXml return SetTextValues(textValues, _countof(textValues), *xml);
}
-HRESULT ToastNotification::Create(_Outptr_ ABI::Windows::UI::Notifications::IToastNotification** notification)
+HRESULT ToastNotification::Create(_Outptr_ ABI::Windows::UI::Notifications::IToastNotification** _notification)
{
Microsoft::WRL::ComPtr<ABI::Windows::Data::Xml::Dom::IXmlDocument> xml;
HRESULT hr = CreateXml(&xml);
@@ -198,7 +198,7 @@ HRESULT ToastNotification::Create(_Outptr_ ABI::Windows::UI::Notifications::IToa if (FAILED(hr))
return hr;
- return hr = factory->CreateToastNotification(xml.Get(), notification);
+ return hr = factory->CreateToastNotification(xml.Get(), _notification);
}
HRESULT ToastNotification::Show()
|