Date: Thu, 27 May 2004 23:32:52 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Marcel Moolenaar <marcel@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/acpica acpi.c Message-ID: <20040527233221.R96008@root.org> In-Reply-To: <20040528025128.BA1F416A4E1@hub.freebsd.org> References: <20040528025128.BA1F416A4E1@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 May 2004, Marcel Moolenaar wrote: > marcel 2004/05/27 19:50:43 PDT > > FreeBSD src repository > > Modified files: > sys/dev/acpica acpi.c > Log: > Fix LP64 environments: cast a pointer type to intptr_t before casting > to int and vice versa. > > Revision Changes Path > 1.148 +2 -2 src/sys/dev/acpica/acpi.c > > @@ -1877,7 +1877,7 @@ > if (acpi_parse_prw(h, &prw) != 0) > return (AE_OK); > > - sstate = (int)context; > + sstate = (int)(intptr_t)context; > if (sstate > prw.lowest_wake) > AcpiDisableGpe(prw.gpe_handle, prw.gpe_bit, ACPI_NOT_ISR); > Thanks, I fixed this slightly differently just now. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040527233221.R96008>