Fixes for compilation under IRIX, submitted by Randal Hopper, with mods

from Robert.
This commit is contained in:
Robert Osfield
2001-10-15 15:50:55 +00:00
parent 5de4e8e6d8
commit de924ca759
10 changed files with 18 additions and 15 deletions

View File

@@ -186,7 +186,7 @@ int *numComponents_ret)
inf.height=ht;
inf.planes=npln;
inf.Colorbits=cbits;
inf.ColorUsed=pow(2,inf.Colorbits); // infer the colours
inf.ColorUsed=pow(2.0,inf.Colorbits); // infer the colours
}
long size = hd.siz[1]*65536+hd.siz[0];
int ncpal=4; // default number of colours per palette entry