summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-04-26 15:16:35 +0000
committerColin Ian King <colin.i.king@gmail.com>2022-04-26 15:16:35 +0000
commitbd157a3c71a3dff05da45773d20ae66e6d562238 (patch)
tree754d036d04d9ef202543ac026cb519f0f59564a3
parentbbc7151605a40ed8396b4ba58a969dbd64d4ffac (diff)
downloadacpica-bd157a3c71a3dff05da45773d20ae66e6d562238.tar.gz
compiler/asloptions.c: Make variable j an INT32
Variable j is assigned a signed int value from the call to AcpiGetopt and is also compared to ACPI_OPT_END which is -1, so it makes sense to make j an INT32 type rather than a UINT32. Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
-rw-r--r--source/compiler/asloptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/asloptions.c b/source/compiler/asloptions.c
index 2808650e3..3c0678ce7 100644
--- a/source/compiler/asloptions.c
+++ b/source/compiler/asloptions.c
@@ -270,7 +270,7 @@ AslDoOptions (
BOOLEAN IsResponseFile)
{
ACPI_STATUS Status;
- UINT32 j;
+ INT32 j;
/* Get the command line options */