openjdk-23: use OpenJDK 23 as the boot JDK
[oi-userland.git] / components / library / libzen / patches / 01-Thread.cpp.patch
blob2f1092b876f20487a0df55512002cdc53ce9bc67
1 --- ZenLib-0.4.39/Source/ZenLib/Thread.cpp 週日 2月 20 22:16:54 2022
2 +++ ZenLib-0.4.39_patch/Source/ZenLib/Thread.cpp 週日 2月 20 21:17:57 2022
3 @@ -519,7 +519,7 @@
5 //Terminating (not clean)
6 #if !defined(__ANDROID_API__)
7 - pthread_cancel((pthread_t)ThreadPointer);
8 + pthread_cancel(*(pthread_t*)&ThreadPointer);
9 #endif
11 //Configuring