--- libelwix/src/array.c 2013/01/17 10:05:35 1.1.1.1 +++ libelwix/src/array.c 2013/03/19 17:02:12 1.1.1.1.6.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: array.c,v 1.1.1.1 2013/01/17 10:05:35 misho Exp $ +* $Id: array.c,v 1.1.1.1.6.1 2013/03/19 17:02:12 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -374,7 +374,7 @@ array_Elem(array_t * __restrict arr, int n, void *data * return: -1 not found empty position, array is full!, >-1 return position of stored element into array */ inline int -array_Push(array_t * __restrict arr, void **data, int nogrow) +array_Push(array_t * __restrict arr, void *data, int nogrow) { int ret = -1; @@ -389,7 +389,7 @@ array_Push(array_t * __restrict arr, void **data, int ret = arr->arr_last++; if (data) - arr->arr_data[arr->arr_last] = *data; + arr->arr_data[arr->arr_last] = data; return ret; }