File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ extern "C"
7676 int32_t __stdcall WINRT_IMPL_SetThreadpoolThreadMinimum (winrt::impl::ptp_pool pool, uint32_t value) noexcept ;
7777 void __stdcall WINRT_IMPL_CloseThreadpool (winrt::impl::ptp_pool pool) noexcept ;
7878
79- int32_t __stdcall WINRT_IMPL_CanUnloadNow () noexcept ;
80- int32_t __stdcall WINRT_IMPL_GetActivationFactory (void * classId, void ** factory) noexcept ;
79+ int32_t __stdcall WINRT_CanUnloadNow () noexcept ;
80+ int32_t __stdcall WINRT_GetActivationFactory (void * classId, void ** factory) noexcept ;
8181}
8282
8383#ifdef _M_HYBRID
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ namespace winrt::impl
7575 inline shared_hstring_header* precreate_hstring_on_heap (uint32_t length)
7676 {
7777 WINRT_ASSERT (length != 0 );
78- uint64_t bytes_required = sizeof (shared_hstring_header) + sizeof (wchar_t ) * length;
78+ uint64_t bytes_required = static_cast < uint64_t >( sizeof (shared_hstring_header)) + static_cast < uint64_t >( sizeof (wchar_t )) * static_cast < uint64_t >( length) ;
7979
8080 if (bytes_required > UINT_MAX)
8181 {
You can’t perform that action at this time.
0 commit comments