projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49a478a
)
[project @ 2003-02-12 11:05:41 by simonmar]
author
simonmar
<unknown>
Wed, 12 Feb 2003 11:05:41 +0000
(11:05 +0000)
committer
simonmar
<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
patch
|
blob
|
history
diff --git
a/ghc/utils/hp2ps/Shade.c
b/ghc/utils/hp2ps/Shade.c
index
e898027
..
2920fb6
100644
(file)
--- 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);
}