Index: trunk/Ohana/src/opihi/cmd.astro/flux.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/flux.c	(revision 2598)
+++ trunk/Ohana/src/opihi/cmd.astro/flux.c	(revision 2843)
@@ -4,5 +4,5 @@
   
   int i, j, k, xmin, ymin, xmax, ymax;
-  int oldsignal;
+  void *oldsignal;
   double ax, ay, s, S, flux;
   double bx[5], by[5], x[5], y[5], bb[5];
@@ -51,5 +51,5 @@
    we have to add up the angles for concave contours */
   flux = 0;
-  oldsignal = (int) signal (SIGINT, handle_interrupt);
+  oldsignal = signal (SIGINT, handle_interrupt);
   interrupt = FALSE;
   for (j = ymin; (j < ymax) && !interrupt; j++) {
@@ -68,5 +68,5 @@
     }
   }
-  signal (SIGINT, (void *) oldsignal);
+  signal (SIGINT, oldsignal);
 
   fprintf (GetOutfile(), "flux: %f\n", flux);
