VirtualBox

Changeset 108030 in vbox


Ignore:
Timestamp:
Feb 3, 2025 4:01:02 PM (3 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167303
Message:

Runtime/RTAcpi: Some more work on the ASL -> AML compiler, can process our vbox-standard.dsl now, bugref:10733 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/acpi/acpi-compiler.cpp

    r108029 r108030  
    700700
    701701        /* Process any required arguments. */
    702         for (uint32_t i = 0; i < pAslKeyword->cArgsReq; i++)
     702        for (uint8_t i = 0; i < pAslKeyword->cArgsReq; i++)
    703703        {
    704704            rc = rtAcpiTblAslParseArgument(pThis, pAslKeyword->pszOpc, i, pAslKeyword->aenmTypes[i], &pAstNd->aArgs[i]);
     
    707707
    708708            /* There must be a "," between required arguments, not counting the last required argument because it can be closed with ")". */
    709             if (i < pAslKeyword->cArgsReq - 1)
     709            if (i < (uint8_t)(pAslKeyword->cArgsReq - 1))
    710710                RTACPIASL_PARSE_PUNCTUATOR(RTACPIASLTERMINAL_PUNCTUATOR_COMMA, ',');
    711711        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette