diff options
-rw-r--r-- | src/acpi/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acpi/device.c b/src/acpi/device.c index 091a0865a1..7313639afa 100644 --- a/src/acpi/device.c +++ b/src/acpi/device.c @@ -51,7 +51,7 @@ int acpi_device_write_dsd_gpio(struct acpi_gpio *gpio, int *curr_index) return ret; acpi_device_write_gpio(gpio); - ret = *curr_index++; + ret = (*curr_index)++; return ret; } |