]> rtime.felk.cvut.cz Git - frescor/frsh.git/blobdiff - fres/contract/fres_container_internal.h
Fixed the number of available container blocks
[frescor/frsh.git] / fres / contract / fres_container_internal.h
index 8612541756115ec351359df63682f7145a82ca94..19ac8a8ad05f55ff1ec5bac4626d36deb329759c 100644 (file)
@@ -105,12 +105,12 @@ struct fres_block {
  * blocks of the same type.
  */
 struct fres_container {
-       struct fres_block blocks[FRES_NUM_BLOCKS];
+       struct fres_block blocks[__FRES_NUM_BLOCKS];
 };
 
 /** Checks wheder the @a type is valid number of the block */
 #define FRES_BLOCK_TYPE_VALID(type)    \
-       ((type) < FRES_NUM_BLOCKS &&    \
+       ((type) < __FRES_NUM_BLOCKS &&  \
         (type) >= 0)
 
 int