From 4c864fe561fdb3382fb23a046d7d02b02765ff0e Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 15 Dec 2000 20:29:41 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/mathutil/fftCompressor.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/mathutil/fftCompressor.cxx b/panda/src/mathutil/fftCompressor.cxx index 0a779e8f1e..18beaaa38e 100644 --- a/panda/src/mathutil/fftCompressor.cxx +++ b/panda/src/mathutil/fftCompressor.cxx @@ -488,6 +488,7 @@ read_hprs(DatagramIterator &di, vector_LVecBase3f &array) { //////////////////////////////////////////////////////////////////// void FFTCompressor:: free_storage() { +#ifdef HAVE_FFTW RealPlans::iterator pi; for (pi = _real_compress_plans.begin(); pi != _real_compress_plans.end(); @@ -502,6 +503,7 @@ free_storage() { rfftw_destroy_plan((*pi).second); } _real_decompress_plans.clear(); +#endif } //////////////////////////////////////////////////////////////////// @@ -575,7 +577,7 @@ write_run(Datagram &datagram, FFTCompressor::RunWidth run_width, // In the case of RW_double, we only write the numbers one at a // time, each time preceded by the RW_double flag. Hopefully // this will happen only rarely. - datagram.add_int8((int)RW_double); + datagram.add_int8((PN_int8)RW_double); datagram.add_float64(*ri); } break;