std::size_t -> size_t

Removing std prefix from all size_t.
This commit is contained in:
sukibaby
2024-10-01 00:43:07 -07:00
committed by teejusb
parent 8d125f3951
commit e0b254968d
161 changed files with 755 additions and 755 deletions
+3 -3
View File
@@ -79,13 +79,13 @@ RageFileObjInflate::~RageFileObjInflate()
delete m_pInflate;
}
int RageFileObjInflate::ReadInternal( void *buf, std::size_t bytes )
int RageFileObjInflate::ReadInternal( void *buf, size_t bytes )
{
/* Don't read more than m_iUncompressedSize of data. If we don't do this, it's
* possible for a .gz to contain a header claiming 500k of data, but to actually
* contain much more deflated data. */
ASSERT_M( m_iFilePos <= m_iUncompressedSize, ssprintf("%i, %i",m_iFilePos, m_iUncompressedSize) );
bytes = std::min( bytes, std::size_t(m_iUncompressedSize-m_iFilePos) );
bytes = std::min( bytes, size_t(m_iUncompressedSize-m_iFilePos) );
bool done=false;
int ret = 0;
@@ -224,7 +224,7 @@ RageFileObjDeflate::~RageFileObjDeflate()
delete m_pDeflate;
}
int RageFileObjDeflate::WriteInternal( const void *pBuffer, std::size_t iBytes )
int RageFileObjDeflate::WriteInternal( const void *pBuffer, size_t iBytes )
{
if( iBytes == 0 )
{