// class handle (we use only 'field' and 'memberParent' as keys).
// Update the value in that case.
unsigned index = GetFieldType->GetIndex(key);
- if ((index != -1) && (GetFieldType->GetItem(index).A == 0))
+ if ((index != (unsigned)-1) && (GetFieldType->GetItem(index).A == 0))
{
GetFieldType->Update(index, value);
DEBUG_REC(dmpGetFieldType(key, value));
{
for (uint32_t i = 0; i < MaxNumberOfSessions; ++i)
{
- if ((s_allowWrite & (1ui64 << i)) == 0)
+ if ((s_allowWrite & ((uint64_t)1 << i)) == 0)
continue;
// Now that we know this session is probably live we pay the perf cost of the memory barriers
uint64_t GetMask() const
{
LIMITED_METHOD_CONTRACT;
- return (1ui64 << m_index);
+ return ((uint64_t)1 << m_index);
}
uint32_t GetIndex() const
ProfilingAPIUtility() {}
static HRESULT PerformDeferredInit();
- static HRESULT ProfilingAPIUtility::DoPreInitialization(
+ static HRESULT DoPreInitialization(
EEToProfInterfaceImpl *pEEProf,
const CLSID *pClsid,
LPCWSTR wszClsid,