diff --git a/qefientrystaticlist.cpp b/qefientrystaticlist.cpp index dafc06d..866f77f 100644 --- a/qefientrystaticlist.cpp +++ b/qefientrystaticlist.cpp @@ -119,6 +119,7 @@ void QEFIEntryStaticList::setBootOrder(const QList &newOrder) quint16 *p = (quint16 *)orderBuffer.data(); for (const auto &i: newOrder) { *p = qToLittleEndian(i); + p++; } qefi_set_variable(g_efiUuid, QStringLiteral("BootOrder"), orderBuffer);