From 87694f555bca71882c7130da9e447dcdba8b697e Mon Sep 17 00:00:00 2001 From: Angelo Marletta Date: Thu, 5 Jul 2012 21:35:33 +0100 Subject: fixed compilation issue on OS X --- src/process_iterator_apple.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/process_iterator_apple.c b/src/process_iterator_apple.c index b6cd468..b878ed8 100644 --- a/src/process_iterator_apple.c +++ b/src/process_iterator_apple.c @@ -17,6 +17,9 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Author: Simon Sigurdhsson + * */ #include @@ -32,10 +35,11 @@ int unique_nonzero_ints(int* arr_in, int len_in, int* arr_out) { memset(arr_out, -1, sizeof(int)*len_in); } int len_out = 0; - for (int i=0; i