mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-26 11:21:08 +00:00
Fix warning comparison of unsigned expression < 0 is always false
This commit is contained in:
parent
52da823a3c
commit
e994140c51
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