summaryrefslogtreecommitdiff
path: root/src/debug/di/dbgtransportmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/di/dbgtransportmanager.cpp')
-rw-r--r--src/debug/di/dbgtransportmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/di/dbgtransportmanager.cpp b/src/debug/di/dbgtransportmanager.cpp
index 77a3548ea5..8c1079dc33 100644
--- a/src/debug/di/dbgtransportmanager.cpp
+++ b/src/debug/di/dbgtransportmanager.cpp
@@ -102,7 +102,7 @@ HRESULT DbgTransportTarget::GetTransportForProcess(DWORD dwPID
entry->m_cProcessRef++;
_ASSERTE(entry->m_cProcessRef > 0);
_ASSERTE(entry->m_transport != NULL);
- _ASSERTE(entry->m_hProcess > 0);
+ _ASSERTE((intptr_t)entry->m_hProcess > 0);
*ppTransport = entry->m_transport;
if (!DuplicateHandle(GetCurrentProcess(),
@@ -139,7 +139,7 @@ void DbgTransportTarget::ReleaseTransport(DbgTransportSession *pTransport)
_ASSERTE(entry->m_cProcessRef > 0);
_ASSERTE(entry->m_transport != NULL);
- _ASSERTE(entry->m_hProcess > 0);
+ _ASSERTE((intptr_t)entry->m_hProcess > 0);
if (entry->m_transport == pTransport)
{