mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 10:51:36 +00:00
Merge pull request #523 from Pan7/fixCmpWarn
Fix warning comparison of unsigned expression < 0 is always false
This commit is contained in:
commit
376cbeaba1
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ int CPicoModel::GetNumSurfaces( void ){
|
||||||
}
|
}
|
||||||
|
|
||||||
char *CPicoModel::GetShaderNameForSurface( const unsigned int surf ){
|
char *CPicoModel::GetShaderNameForSurface( const unsigned int surf ){
|
||||||
if ( !m_pModel || surf < 0 || surf >= m_children->len ) {
|
if ( !m_pModel || surf >= m_children->len ) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue