--- libaitio/src/exec.c 2013/12/15 23:27:34 1.2.2.1 +++ libaitio/src/exec.c 2014/02/05 02:24:28 1.3.2.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: exec.c,v 1.2.2.1 2013/12/15 23:27:34 misho Exp $ +* $Id: exec.c,v 1.3.2.1 2014/02/05 02:24:28 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -316,7 +316,7 @@ io_progOpen2(prog_t * __restrict prg) e_pclose(f); break; } else - array_Set(prg->prog_fds, i, f); + array_Set(prg->prog_fds, i, (intptr_t) f); clrbit(prg->prog_used, i); prg->prog_cnum++; ret = i; @@ -372,7 +372,7 @@ io_progOpen(prog_t * __restrict prg, u_int execNum) ret = -1; break; } else - array_Set(prg->prog_fds, i, f); + array_Set(prg->prog_fds, i, (intptr_t) f); clrbit(prg->prog_used, i); prg->prog_cnum++; ret++;