Fixed one more warning.

git-svn-id: http://yate.null.ro/svn/yate/trunk@1601 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2008-01-08 13:14:57 +00:00
parent 85a2f72b07
commit aed0337e77
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ public:
return tmp;
}
inline bool addBoolParam(NamedList* dest, u_int8_t data, bool toggle) const {
bool result = (bool)toggle ? !(data & mask) : (data & mask);
bool result = toggle ^ ((data & mask) != 0);
dest->addParam(name,String::boolText(result));
return result;
}