Skip to content

Commit

Permalink
fix wrong (unsigned) comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-zimoch authored and mdavidsaver committed Aug 12, 2024
1 parent 3dae29b commit 86cdfc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/database/src/ioc/db/dbChannelIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86cdfc5

Please sign in to comment.