projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0022749: Segfault in HashCode() of Standard_Transient
[occt.git]
/
src
/
Graphic2d
/
Graphic2d_Buffer.cxx
diff --git
a/src/Graphic2d/Graphic2d_Buffer.cxx
b/src/Graphic2d/Graphic2d_Buffer.cxx
index
56d7061
..
68432a3
100755
(executable)
--- a/
src/Graphic2d/Graphic2d_Buffer.cxx
+++ b/
src/Graphic2d/Graphic2d_Buffer.cxx
@@
-311,7
+311,7
@@
printf(" Graphic2d_Buffer::ReLoad(%d)\n",ResetPosition);
#endif
if( !myDriver.IsNull() ) {
- myBufferId =
this->HashCode(
IntegerLast());
+ myBufferId =
::HashCode ((Standard_Address)this,
IntegerLast());
// Maximum depth of primitive lines
// contained in the buffer is required