projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0030550: Coding - Integer overflow in Standard_CString HashCodes
[occt.git]
/
src
/
Standard
/
Standard_ErrorHandler.cxx
diff --git
a/src/Standard/Standard_ErrorHandler.cxx
b/src/Standard/Standard_ErrorHandler.cxx
index
c95b516
..
0b76c3c
100644
(file)
--- a/
src/Standard/Standard_ErrorHandler.cxx
+++ b/
src/Standard/Standard_ErrorHandler.cxx
@@
-47,7
+47,7
@@
static Standard_Mutex theMutex;
static inline Standard_ThreadId GetThreadID()
{
#ifndef _WIN32
- return pthread_self();
+ return
(Standard_ThreadId)
pthread_self();
#else
return GetCurrentThreadId();
#endif