From: ibs Date: Mon, 2 Nov 2015 14:41:04 +0000 (+0300) Subject: 0026831: Configuration - define HashCode for pthread_t on Android X-Git-Tag: V7_0_0_beta~154 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=0123185ed1c4c66e96ed88addec839bd65c4fb49;p=occt-copy.git 0026831: Configuration - define HashCode for pthread_t on Android explicit cast Standard_ThreadId to Standard_Size --- diff --git a/src/BOPCol/BOPCol_Parallel.hxx b/src/BOPCol/BOPCol_Parallel.hxx index 2204a0cb43..efea73fc69 100644 --- a/src/BOPCol/BOPCol_Parallel.hxx +++ b/src/BOPCol/BOPCol_Parallel.hxx @@ -87,7 +87,7 @@ class BOPCol_ContextFunctor static Standard_Integer HashCode(const Standard_ThreadId theKey, const Standard_Integer Upper) { - return ::HashCode(theKey, Upper); + return ::HashCode((Standard_Size)theKey, Upper); } static Standard_Boolean IsEqual(const Standard_ThreadId theKey1,