Fix boolean encoding

This commit is contained in:
Anton Thomasson 2022-07-10 16:39:19 +02:00
parent da923e3a32
commit aaae57b113

View file

@ -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;
} }