https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6a06db09cac016fcc90dd…
commit 6a06db09cac016fcc90dd654570add0c6b30f288
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Sat Dec 14 22:34:22 2024 +0100
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Wed Jan 8 23:20:08 2025 +0100
[COMPBATT] Use FALSE for BOOLEANs on BatteryIoctl, not integers
---
drivers/bus/acpi/compbatt/compbatt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/acpi/compbatt/compbatt.c b/drivers/bus/acpi/compbatt/compbatt.c
index 76e339e1ee6..ea1e287ece0 100644
--- a/drivers/bus/acpi/compbatt/compbatt.c
+++ b/drivers/bus/acpi/compbatt/compbatt.c
@@ -286,7 +286,7 @@ CompBattGetBatteryInformation(
sizeof(InputBuffer),
&BatteryData->BatteryInformation,
sizeof(BatteryData->BatteryInformation),
- 0);
+ FALSE);
if (!NT_SUCCESS(Status))
{
/* Fail if the query had a problem */
@@ -442,7 +442,7 @@ CompBattGetBatteryGranularity(
sizeof(InputBuffer),
&BatteryScale,
sizeof(BatteryScale),
- 0);
+ FALSE);
if (!NT_SUCCESS(Status))
{
/* Fail if the query had a problem */