Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 37099 invoked by uid 500); 2 Dec 2001 01:24:48 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 37088 invoked from network); 2 Dec 2001 01:24:48 -0000 Date: 2 Dec 2001 01:07:02 -0000 Message-ID: <20011202010702.73776.qmail@icarus.apache.org> From: trawick@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/test testmem.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N trawick 01/12/01 17:07:02 Modified: test testmem.c Log: fix a bogus cast so that testmem can compile with xlc (AIX) now that we have xlc running in a more anal mode than before (we removed -qlanglvl=extended recently) Revision Changes Path 1.13 +3 -3 apr/test/testmem.c Index: testmem.c =================================================================== RCS file: /home/cvs/apr/test/testmem.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- testmem.c 2001/09/28 14:05:23 1.12 +++ testmem.c 2001/12/02 01:07:02 1.13 @@ -87,10 +87,10 @@ static void its_a_pool(apr_pool_t *pool, _test_ *t, char *name, int lt) { - t->malloc_fn = (void*)apr_palloc; - t->calloc_fn = (void*)apr_pcalloc; + t->malloc_fn = (void *(*)(void *, apr_size_t))apr_palloc; + t->calloc_fn = (void *(*)(void *, apr_size_t))apr_pcalloc; t->free_fn = NULL; - t->reset_fn = (void*)apr_pool_clear; + t->reset_fn = (void *(*)(void *))apr_pool_clear; t->memory = pool; t->title = name; t->large_tests = lt;