--- libaitio/inc/aitio.h 2011/12/12 15:22:19 1.12.2.10 +++ libaitio/inc/aitio.h 2011/12/12 15:28:01 1.12.2.11 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitio.h,v 1.12.2.10 2011/12/12 15:22:19 misho Exp $ +* $Id: aitio.h,v 1.12.2.11 2011/12/12 15:28:01 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -330,7 +330,8 @@ inline int io_clrVars(array_t * __restrict vars); */ inline void io_freeVars(array_t ** __restrict vars); -#define io_elemVars(_vars, _n, _val) ((ait_val_t*) io_arrayElem((_vars), (_n), (_val))) +#define io_elemVars(_vars, _n, _val) ((ait_val_t*) io_arrayElem((_vars), \ + (_n), (ait_val_t*) (_val))) /* * ioPromptRead() Read data from input h[0] with prompt to output h[1]