mirror of https://github.com/Icinga/icinga2.git
Fixed compiler warning.
This commit is contained in:
parent
330c3710e3
commit
06f9bf2eaa
|
@ -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 New Issue