Commit 85a6b8fe authored by simonmar's avatar simonmar
Browse files

[project @ 2003-02-12 11:05:41 by simonmar]

Fix bug caused by non-use of function prototypes (grrr!).
parent 49a478ab
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment