From 8f4cb276420b2324e014a0543bb7b99f14b6d66a Mon Sep 17 00:00:00 2001 From: Gammasoft Date: Thu, 27 Jul 2023 01:30:52 +0200 Subject: [PATCH] Fix build --- src/xtd.core.native.macos/src/xtd/native/macos/thread.mm | 2 +- src/xtd.core.native.unix/src/xtd/native/unix/thread.cpp | 2 +- src/xtd.core.native.win32/src/xtd/native/win32/thread.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xtd.core.native.macos/src/xtd/native/macos/thread.mm b/src/xtd.core.native.macos/src/xtd/native/macos/thread.mm index 8bb3ac74c2e3..14721a9b2f6c 100644 --- a/src/xtd.core.native.macos/src/xtd/native/macos/thread.mm +++ b/src/xtd.core.native.macos/src/xtd/native/macos/thread.mm @@ -7,7 +7,7 @@ using namespace xtd::native; -bool thread::cancel(intptr_t handle) { +bool thread::cancel(intmax_t handle) { /// @todo Make mplementation for macOS return false; } diff --git a/src/xtd.core.native.unix/src/xtd/native/unix/thread.cpp b/src/xtd.core.native.unix/src/xtd/native/unix/thread.cpp index c1d485d1843e..eb295dc71ad9 100644 --- a/src/xtd.core.native.unix/src/xtd/native/unix/thread.cpp +++ b/src/xtd.core.native.unix/src/xtd/native/unix/thread.cpp @@ -4,7 +4,7 @@ using namespace xtd::native; -bool thread::cancel(intptr_t handle) { +bool thread::cancel(intmax_t handle) { /// @todo Make mplementation for unix return false; } diff --git a/src/xtd.core.native.win32/src/xtd/native/win32/thread.cpp b/src/xtd.core.native.win32/src/xtd/native/win32/thread.cpp index 13b28a22db23..4f7928e669e4 100644 --- a/src/xtd.core.native.win32/src/xtd/native/win32/thread.cpp +++ b/src/xtd.core.native.win32/src/xtd/native/win32/thread.cpp @@ -7,7 +7,7 @@ using namespace xtd::native; -bool thread::cancel(intptr_t handle) { +bool thread::cancel(intmax_t handle) { /// @todo Make mplementation for Windows return false; }