[project @ 2003-02-12 11:05:41 by simonmar]
authorsimonmar <unknown>
Wed, 12 Feb 2003 11:05:41 +0000 (11:05 +0000)
committersimonmar <unknown>
Wed, 12 Feb 2003 11:05:41 +0000 (11:05 +0000)
Fix bug caused by non-use of function prototypes (grrr!).

ghc/utils/hp2ps/Shade.c

index e898027..2920fb6 100644 (file)
@@ -121,9 +121,9 @@ SetPSColour(shade)
 {
     if (cflag) {
        fprintf(psfp, "%f %f %f setrgbcolor\n",
-               extract_colour(shade,    100),
-               extract_colour(shade,  10000),
-               extract_colour(shade,1000000));
+               extract_colour(shade, (intish)100),
+               extract_colour(shade, (intish)10000),
+               extract_colour(shade, (intish)1000000));
     } else {
        fprintf(psfp, "%f setgray\n", shade);
     }