Return-Path: Mailing-List: contact xalan-cvs-help@xml.apache.org; run by ezmlm Delivered-To: mailing list xalan-cvs@xml.apache.org Received: (qmail 74216 invoked by uid 1034); 28 Feb 2001 18:50:42 -0000 Date: 28 Feb 2001 18:50:41 -0000 Message-ID: <20010228185041.74215.qmail@apache.org> From: dbertoni@apache.org To: xml-xalan-cvs@apache.org Subject: cvs commit: xml-xalan/c/Tests/Threads ThreadTest.cpp dbertoni 01/02/28 10:50:41 Modified: c/Tests/Threads ThreadTest.cpp Log: Added #ifdef for old-style casts. Revision Changes Path 1.10 +5 -1 xml-xalan/c/Tests/Threads/ThreadTest.cpp Index: ThreadTest.cpp =================================================================== RCS file: /home/cvs/xml-xalan/c/Tests/Threads/ThreadTest.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- ThreadTest.cpp 2001/02/26 22:56:00 1.9 +++ ThreadTest.cpp 2001/02/28 18:50:36 1.10 @@ -191,7 +191,11 @@ // theProcessor.setStylesheetRoot method. The transform is done using the theProcessor's // process() method. - const ThreadInfo* theInfo = reinterpret_cast(param); +#if defined(XALAN_OLD_STYLE_CASTS) + const ThreadInfo* const theInfo = (const ThreadInfo*)param; +#else + const ThreadInfo* const theInfo = reinterpret_cast(param); +#endif assert(theInfo != 0);