From c402611a7fa549195d96c727e129731da1f34c09 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 31 Jan 2002 02:14:23 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/tiff/tif_aux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/panda/src/tiff/tif_aux.c b/panda/src/tiff/tif_aux.c index 9a934f08b9..b0e9be46ed 100644 --- a/panda/src/tiff/tif_aux.c +++ b/panda/src/tiff/tif_aux.c @@ -30,7 +30,6 @@ * Auxiliary Support Routines. */ #include "tiffiop.h" -#include "cmath.h" #ifdef COLORIMETRY_SUPPORT #include @@ -45,7 +44,7 @@ TIFFDefaultTransferFunction(TIFFDirectory* td) tf[0][0] = 0; for (i = 1; i < n; i++) { double t = (double)i/((double) n-1.); - tf[0][i] = (uint16)cfloor(65535.*pow(t, 2.2) + .5); + tf[0][i] = (uint16)floor(65535.*pow(t, 2.2) + .5); } if (td->td_samplesperpixel - td->td_extrasamples > 1) { tf[1] = (uint16 *)_TIFFmalloc(n * sizeof (uint16));