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
/
pbcutil
/
mshift.cpp
diff --git
a/src/gromacs/pbcutil/mshift.cpp
b/src/gromacs/pbcutil/mshift.cpp
index 0ee0cd04793d114422ee74befc63194b94e419dd..d7905596b1410095470e17b6603c010f5878261f 100644
(file)
--- a/
src/gromacs/pbcutil/mshift.cpp
+++ b/
src/gromacs/pbcutil/mshift.cpp
@@
-810,7
+810,7
@@
void mk_mshift(FILE *log, t_graph *g, int ePBC,
g->negc = nnodes;
srenew(g->egc, g->negc);
}
- memset(g->egc, 0,
(size_t)
(nnodes*sizeof(g->egc[0])));
+ memset(g->egc, 0,
static_cast<size_t>
(nnodes*sizeof(g->egc[0])));
nW = g->nbound;
nG = 0;