mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
arm64 : fix intptr_t size
This commit is contained in:
@@ -862,7 +862,7 @@ int ListPanel::FindColumn(const char *columnName)
|
||||
// data->GetName() is used to uniquely identify an item
|
||||
// data sub items are matched against column header name to be used in the table
|
||||
//-----------------------------------------------------------------------------
|
||||
int ListPanel::AddItem( const KeyValues *item, unsigned int userData, bool bScrollToItem, bool bSortOnAdd)
|
||||
int ListPanel::AddItem( const KeyValues *item, uintp userData, bool bScrollToItem, bool bSortOnAdd)
|
||||
{
|
||||
FastSortListPanelItem *newitem = new FastSortListPanelItem;
|
||||
newitem->kv = item->MakeCopy();
|
||||
@@ -898,7 +898,7 @@ int ListPanel::AddItem( const KeyValues *item, unsigned int userData, bool bScro
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
void ListPanel::SetUserData( int itemID, unsigned int userData )
|
||||
void ListPanel::SetUserData( int itemID, uintp userData )
|
||||
{
|
||||
if ( !m_DataItems.IsValidIndex(itemID) )
|
||||
return;
|
||||
@@ -909,7 +909,7 @@ void ListPanel::SetUserData( int itemID, unsigned int userData )
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Finds the first itemID with a matching userData
|
||||
//-----------------------------------------------------------------------------
|
||||
int ListPanel::GetItemIDFromUserData( unsigned int userData )
|
||||
int ListPanel::GetItemIDFromUserData( uintp userData )
|
||||
{
|
||||
FOR_EACH_LL( m_DataItems, itemID )
|
||||
{
|
||||
@@ -1064,7 +1064,7 @@ ListPanelItem *ListPanel::GetItemData( int itemID )
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: returns user data for itemID
|
||||
//-----------------------------------------------------------------------------
|
||||
unsigned int ListPanel::GetItemUserData(int itemID)
|
||||
uintp ListPanel::GetItemUserData(int itemID)
|
||||
{
|
||||
if ( !m_DataItems.IsValidIndex(itemID) )
|
||||
return 0;
|
||||
@@ -2828,7 +2828,7 @@ void ListPanel::SortList( void )
|
||||
//-----------------------------------------------------------------------------
|
||||
void ListPanel::SetFont(HFont font)
|
||||
{
|
||||
Assert( font );
|
||||
Assert( font );
|
||||
if ( !font )
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user