Moved ngmx to C++, renamed it to view.
[alexxy/gromacs.git] / src / gromacs / legacyheaders / macros.h
index 46ca3f387a782f0afeb16fdd8e9886f7781419dc..261c86f6eb663f4bd33ada169dfca387ff5af76c 100644 (file)
@@ -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 */