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
Moved ngmx to C++, renamed it to view.
[alexxy/gromacs.git]
/
src
/
gromacs
/
legacyheaders
/
macros.h
diff --git
a/src/gromacs/legacyheaders/macros.h
b/src/gromacs/legacyheaders/macros.h
index 46ca3f387a782f0afeb16fdd8e9886f7781419dc..261c86f6eb663f4bd33ada169dfca387ff5af76c 100644
(file)
--- a/
src/gromacs/legacyheaders/macros.h
+++ b/
src/gromacs/legacyheaders/macros.h
@@
-66,6
+66,6
@@
#endif
/* This macro calculates the size of a array */
-#define asize(a) (
sizeof(a)/sizeof((a)[0]
))
+#define asize(a) (
(int)(sizeof(a)/sizeof((a)[0])
))
#endif /* _macros_h */