fix a few compiler warnings in VC

This commit is contained in:
mkendora
2003-09-01 00:22:37 +00:00
parent 2cc81803e3
commit 5b8f698d32
2 changed files with 4 additions and 4 deletions

View File

@@ -388,7 +388,7 @@ void SineBlob(int x, int y, int radius, int height, int page)
square = cy*cy + cx*cx;
if(square < radsquare)
{
dist = sqrt(square*length);
dist = (int) sqrt(square*length);
Height[page][SCRW*(cy+y) + cx+x]
+= (int)((FCos(dist)+0xffff)*(height)) >> 19;
}