Update platform_unix.c

This commit is contained in:
twinaphex 2018-10-02 20:07:49 +02:00
parent 075a5eff5a
commit 64b2e6ea5f
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ static void check_proc_acpi_ac_adapter(const char * node, bool *have_ac)
static void check_proc_acpi_sysfs_ac_adapter(const char * node, bool *have_ac)
{
char path[1024];
ssize_t length = 0;
int64_t length = 0;
char *buf = NULL;
const char *base = proc_acpi_sysfs_ac_adapter_path;