mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-13 10:40:11 -04:00
Fixed compiler warning.
This commit is contained in:
parent
330c3710e3
commit
06f9bf2eaa
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ public:
|
|||
|
||||
operator bool(void) const
|
||||
{
|
||||
return static_cast<long>(*this);
|
||||
return (static_cast<long>(*this) != 0);
|
||||
}
|
||||
|
||||
operator string(void) const
|
||||
|
|
|
|||
Loading…
Reference in a new issue