fix wrong (unsigned) comparison

This commit is contained in:
2024-08-12 15:07:32 +02:00
committed by mdavidsaver
parent 3dae29b7e8
commit 86cdfc596f

View File

@ -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;