fix wrong (unsigned) comparison
This commit is contained in:
@ -165,7 +165,7 @@ unsigned long dbChannelIO::nativeElementCount (
|
||||
{
|
||||
guard.assertIdenticalMutex ( this->mutex );
|
||||
long elements = dbChannelElements ( this->dbch );
|
||||
if ( elements >= 0u ) {
|
||||
if ( elements >= 0 ) {
|
||||
return static_cast < unsigned long > ( elements );
|
||||
}
|
||||
return 0u;
|
||||
|
Reference in New Issue
Block a user