From 2744462d01f3aa306e655ff51fd68dbf613142fb Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 4 Jul 2010 17:41:17 +0000 Subject: [PATCH] void *AllocatedPtr --- ChangeLog | 9 ++++++--- src/maths/sparse/spdefs.h | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index a71cdd90f..4b94168c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,11 @@ +2010-07-04 Robert Larice + * src/maths/sparse/spdefs.h : + fix the type of an ancient anonymous pointer from char* to void* + 2010-07-04 Robert Larice * src/include/defines.h : - for non MSC: use sighandler_t from - FIXME, should work for MSC as well, please check - + for non MSC: use sighandler_t from + FIXME, should work for MSC as well, please check * src/include/fteext.h : ansi function declarations (prototypes) for some signal functions diff --git a/src/maths/sparse/spdefs.h b/src/maths/sparse/spdefs.h index 53e718661..85058b41b 100644 --- a/src/maths/sparse/spdefs.h +++ b/src/maths/sparse/spdefs.h @@ -471,7 +471,7 @@ typedef ElementPtr *ArrayOfElementPtrs; * linked list so that it can grow without a priori bounds. * * >>> Structure fields: - * AllocatedPtr (char *) + * AllocatedPtr (void *) * Pointer to chunk of memory that has been allocated for the matrix. * NextRecord (struct AllocationRecord *) * Pointer to the next allocation record. @@ -480,7 +480,7 @@ typedef ElementPtr *ArrayOfElementPtrs; /* Begin `AllocationRecord'. */ struct AllocationRecord { - char *AllocatedPtr; + void *AllocatedPtr; struct AllocationRecord *NextRecord; };