| @@ -1147,27 +1147,27 @@ AcpiOsWritable ( | | | @@ -1147,27 +1147,27 @@ AcpiOsWritable ( |
1147 | * PARAMETERS: None | | 1147 | * PARAMETERS: None |
1148 | * | | 1148 | * |
1149 | * RETURN: Id of the running thread | | 1149 | * RETURN: Id of the running thread |
1150 | * | | 1150 | * |
1151 | * DESCRIPTION: Get the ID of the current (running) thread | | 1151 | * DESCRIPTION: Get the ID of the current (running) thread |
1152 | * | | 1152 | * |
1153 | *****************************************************************************/ | | 1153 | *****************************************************************************/ |
1154 | | | 1154 | |
1155 | ACPI_THREAD_ID | | 1155 | ACPI_THREAD_ID |
1156 | AcpiOsGetThreadId ( | | 1156 | AcpiOsGetThreadId ( |
1157 | void) | | 1157 | void) |
1158 | { | | 1158 | { |
1159 | | | 1159 | |
1160 | return (ACPI_CAST_PTHREAD_T (pthread_self())); | | 1160 | return (uintptr_t)(ACPI_CAST_PTHREAD_T (pthread_self())); |
1161 | } | | 1161 | } |
1162 | | | 1162 | |
1163 | | | 1163 | |
1164 | /****************************************************************************** | | 1164 | /****************************************************************************** |
1165 | * | | 1165 | * |
1166 | * FUNCTION: AcpiOsSignal | | 1166 | * FUNCTION: AcpiOsSignal |
1167 | * | | 1167 | * |
1168 | * PARAMETERS: Function - ACPI CA signal function code | | 1168 | * PARAMETERS: Function - ACPI CA signal function code |
1169 | * Info - Pointer to function-dependent structure | | 1169 | * Info - Pointer to function-dependent structure |
1170 | * | | 1170 | * |
1171 | * RETURN: Status | | 1171 | * RETURN: Status |
1172 | * | | 1172 | * |
1173 | * DESCRIPTION: Miscellaneous functions. Example implementation only. | | 1173 | * DESCRIPTION: Miscellaneous functions. Example implementation only. |