biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix part of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
xdrd.cpp
diff --git
a/src/gromacs/fileio/xdrd.cpp
b/src/gromacs/fileio/xdrd.cpp
index cceda7c3027c6404f1f4e8e4d84893d8750c5f6f..d6576199314e60d26e2e3e0214453dd40fccfb2e 100644
(file)
--- a/
src/gromacs/fileio/xdrd.cpp
+++ b/
src/gromacs/fileio/xdrd.cpp
@@
-53,7
+53,7
@@
int xdr_real(XDR *xdrs, real *r)
return ret;
#else
- return xdr_float(xdrs,
(float *)r
);
+ return xdr_float(xdrs,
static_cast<float *>(r)
);
#endif
}