Index: ChangeLog
===================================================================
RCS file: /cvsroot/xforms/xforms/ChangeLog,v
retrieving revision 1.34
diff -u -p -r1.34 ChangeLog
--- ChangeLog	24 Apr 2003 12:48:19 -0000	1.34
+++ ChangeLog	24 Apr 2003 13:17:47 -0000
@@ -1,3 +1,8 @@
+2003-04-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+	* image/image_fits.c (Bad_bpp): use abs() and not fabs(), since
+	bpp is an int
+
 2003-04-24  Angus Leeming  <angus.leeming@btopenworld.com>
 
 	Migrate from imake to autoconf/automake.
Index: image/image_fits.c
===================================================================
RCS file: /cvsroot/xforms/xforms/image/image_fits.c,v
retrieving revision 1.3
diff -u -p -r1.3 image_fits.c
--- image/image_fits.c	24 Apr 2003 09:35:34 -0000	1.3
+++ image/image_fits.c	24 Apr 2003 13:17:47 -0000
@@ -42,7 +42,6 @@
 #include "ulib.h"
 #include <stdlib.h>
 #include <string.h>
-#include <math.h>
 #if 0
 #include "extern.h"
 #endif
@@ -123,7 +122,7 @@ typedef struct
 SPEC;
 
 #define bad_hdu(h)  (!h->simple || (h->ndim == 0 && !h->xtname[0]))
-#define Bad_bpp(p)  (p != 8 && p != 16 && fabs(p) != 32 && p != -64)
+#define Bad_bpp(p)  (p != 8 && p != 16 && abs(p) != 32 && p != -64)
 #define bad_dim(h)  (h->ndim<0 || (h->ndim>MAXDIM && h->dim[MAXDIM-1]!=1))
 
 static void

