Fix boolean encoding
This commit is contained in:
parent
da923e3a32
commit
aaae57b113
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ void IppMsg::encode_attr(Bytestream& msg, quint8 tag, QString name, QJsonValue v
|
||||||
}
|
}
|
||||||
case Boolean:
|
case Boolean:
|
||||||
{
|
{
|
||||||
quint32 tmp_u8 = value.toBool();
|
quint8 tmp_u8 = value.toBool();
|
||||||
msg << (quint16)1 << tmp_u8;
|
msg << (quint16)1 << tmp_u8;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue