diff --git a/src/libqhull.h b/src/libqhull.h index 43f0e9570c89bfa418e7c7947b6a63917c69d3b6..f9a909321a6b4849d4a51f892a5ae471bfb2678d 100644 --- a/src/libqhull.h +++ b/src/libqhull.h @@ -751,7 +751,7 @@ struct qhT { realT last_newhigh; unsigned lastreport; /* for qh_buildtracing */ int mergereport; /* for qh_tracemerging */ - void *old_qhstat; /* for saving qh_qhstat in save_qhull() and UsingLibQhull. Free with qh_free() */ + qhstatT *old_qhstat; /* for saving qh_qhstat in save_qhull() and UsingLibQhull. Free with qh_free() */ setT *old_tempstack; /* for saving qhmem.tempstack in save_qhull */ int ridgeoutnum; /* number of ridges for 4OFF output (qh_printbegin,etc) */ }; diff --git a/src/mem.h b/src/mem.h index 4690034061e7cdbd5f43d604dcaf15ad7b729806..8b92df9c5b4ee8f6815ffb315915da6230cd1ff9 100644 --- a/src/mem.h +++ b/src/mem.h @@ -114,7 +114,7 @@ struct qhmemT { /* global memory management variables */ void *curbuffer; /* current buffer, linked by offset 0 */ void *freemem; /* free memory in curbuffer */ int freesize; /* size of freemem in bytes */ - void *tempstack; /* stack of temporary memory, managed by users */ + setT *tempstack; /* stack of temporary memory, managed by users */ FILE *ferr; /* file for reporting errors, only user is qh_fprintf() */ int IStracing; /* =5 if tracing memory allocations */ int cntquick; /* count of quick allocations */