slackbuilds_ponce/development/acpica/pthread_build_warning_fix.patch
Heinz Wiesinger f285e922d8 development/acpica: Updated for version 20110922.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2011-11-04 21:59:28 -02:00

16 lines
468 B
Diff

diff --git a/source/os_specific/service_layers/osunixxf.c b/source/os_specific/service_layers/osunixxf.c
index 1698139..fbe02b7 100644
--- a/source/os_specific/service_layers/osunixxf.c
+++ b/source/os_specific/service_layers/osunixxf.c
@@ -1243,8 +1243,10 @@ ACPI_THREAD_ID
AcpiOsGetThreadId (
void)
{
+ pthread_t thread;
- return (ACPI_CAST_PTHREAD_T (pthread_self()));
+ thread = pthread_self();
+ return (ACPI_CAST_PTHREAD_T (thread));
}