mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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…
x
Reference in New Issue
Block a user