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
3/3 of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
fileio
/
md5.cpp
diff --git
a/src/gromacs/fileio/md5.cpp
b/src/gromacs/fileio/md5.cpp
index ab63444073a2835f7ebb06177152d21fd926bf37..8d985d6f1e4779fe3dd66ed7eb88aa26dbb33ff7 100644
(file)
--- a/
src/gromacs/fileio/md5.cpp
+++ b/
src/gromacs/fileio/md5.cpp
@@
-109,7
+109,7
@@
# define BYTE_ORDER 0
#endif
-#define T_MASK (
(md5_word_t) ~0
)
+#define T_MASK (
static_cast<md5_word_t>(~0)
)
#define T1 /* 0xd76aa478 */ (T_MASK ^ 0x28955b87)
#define T2 /* 0xe8c7b756 */ (T_MASK ^ 0x173848a9)
#define T3 0x242070db