mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(build): resolve MSVC warnings
This commit is contained in:
parent
df14314ea1
commit
92b0c4778f
6 changed files with 19 additions and 10 deletions
|
|
@ -43,12 +43,12 @@ THandle TSExportTableSimpleReuse<T, THandle>::GenerateUniqueHandle() {
|
|||
this->m_wrapped = 1;
|
||||
}
|
||||
|
||||
if (!this->m_wrapped || !this->Ptr(reinterpret_cast<THandle>(this->m_sequence))) {
|
||||
if (!this->m_wrapped || !this->Ptr(reinterpret_cast<THandle>(static_cast<uintptr_t>(this->m_sequence)))) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return reinterpret_cast<THandle>(this->m_sequence);
|
||||
return reinterpret_cast<THandle>(static_cast<uintptr_t>(this->m_sequence));
|
||||
}
|
||||
|
||||
template <class T, class THandle>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue