Skip to content

Commit

Permalink
Fixing CTSSimpleList
Browse files Browse the repository at this point in the history
  • Loading branch information
kosumosu committed May 28, 2022
1 parent c350339 commit 4e62536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/tier0/tslist_alternative.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@ class TSLIST_HEAD_ALIGN CTSSimpleList : public CTSListBase
public:
void Push( T *pNode )
{
CTSListBase::Push( pNode );
CTSListBase::Push( reinterpret_cast<TSLNodeBase_t*>(pNode) );
}

T *Pop()
{
return static_cast<T*>( CTSListBase::Pop() );
return reinterpret_cast<T*>( CTSListBase::Pop() );
}
} TSLIST_HEAD_ALIGN_POST;

Expand Down

0 comments on commit 4e62536

Please sign in to comment.