Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb97fe
)
Fix compilation error on 32bit platforms
author
vsr
<vsr@opencascade.com>
Thu, 24 Oct 2013 04:57:31 +0000
(
04:57
+0000)
committer
vsr
<vsr@opencascade.com>
Thu, 24 Oct 2013 04:57:31 +0000
(
04:57
+0000)
src/GEOMGUI/GEOM_Displayer.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOM_Displayer.cxx
b/src/GEOMGUI/GEOM_Displayer.cxx
index 9e59ce7e2f9b0a52ebaab26fc92409e3da391b7e..f917a2f0ec46c46bacfaa408209499ca4494553d 100644
(file)
--- a/
src/GEOMGUI/GEOM_Displayer.cxx
+++ b/
src/GEOMGUI/GEOM_Displayer.cxx
@@
-2229,7
+2229,7
@@
void GEOM_Displayer::readFieldStepInfo( GEOM::GEOM_FieldStep_var theGeomFieldSte
{
GEOM::ListOfLong_var aValues = aGeomIntFieldStep->GetValues();
for( size_t i = 0, n = aValues->length(); i < n; i++ )
- aFieldStepData << aValues[i];
+ aFieldStepData <<
(long)
aValues[i];
}
}
else if( aFieldDataType == GEOM::FDT_Double )
@@
-2239,7
+2239,7
@@
void GEOM_Displayer::readFieldStepInfo( GEOM::GEOM_FieldStep_var theGeomFieldSte
{
GEOM::ListOfDouble_var aValues = aGeomDoubleFieldStep->GetValues();
for( size_t i = 0, n = aValues->length(); i < n; i++ )
- aFieldStepData << aValues[i];
+ aFieldStepData <<
(double)
aValues[i];
}
}
else if( aFieldDataType == GEOM::FDT_String )