From 85a6b8fecdb5f5e1b424c717a5bbdff173dfc094 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 12 Feb 2003 11:05:41 +0000 Subject: [PATCH] [project @ 2003-02-12 11:05:41 by simonmar] Fix bug caused by non-use of function prototypes (grrr!). --- ghc/utils/hp2ps/Shade.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ghc/utils/hp2ps/Shade.c b/ghc/utils/hp2ps/Shade.c index e898027..2920fb6 100644 --- a/ghc/utils/hp2ps/Shade.c +++ b/ghc/utils/hp2ps/Shade.c @@ -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); } -- 1.7.10.4