Salome HOME
projects
/
modules
/
med.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
af9dfda
)
Unwarningization under Win.
B4AnonymousThrowMDL
author
ageay
<ageay>
Fri, 23 Aug 2013 11:09:14 +0000
(11:09 +0000)
committer
ageay
<ageay>
Fri, 23 Aug 2013 11:09:14 +0000
(11:09 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx
patch
|
blob
|
history
diff --git
a/src/MEDCoupling/MEDCouplingMemArray.cxx
b/src/MEDCoupling/MEDCouplingMemArray.cxx
index ed5371df95b8e9aa6fb010fd5ceea85a5597c7a8..ca8343508e47afbb028b5ee5e479200e2b84917b 100644
(file)
--- a/
src/MEDCoupling/MEDCouplingMemArray.cxx
+++ b/
src/MEDCoupling/MEDCouplingMemArray.cxx
@@
-1164,7
+1164,7
@@
void DataArrayDouble::writeVTK(std::ostream& ofs, int indent, const char *nameIn
float *pt(tmp);
// to make Visual C++ happy : instead of std::copy(begin(),end(),(float *)tmp);
for(const double *src=begin();src!=end();src++,pt++)
- *pt=
in
t(*src);
+ *pt=
floa
t(*src);
const char *data(reinterpret_cast<const char *>((float *)tmp));
std::size_t sz(getNbOfElems()*sizeof(float));
byteArr->insertAtTheEnd(data,data+sz);