short xpos,ypos;
} BLOB;
-static unsigned char nBlobCount;
+static unsigned int nBlobCount;
static unsigned char radius;
static unsigned char delta;
static unsigned char dradius;
/* Find the preferred bits-per-pixel. (jwz) */
{
- int i, pfvc = 0;
+ int pfvc = 0;
XPixmapFormatValues *pfv = XListPixmapFormats( pDisplay, &pfvc );
for( i=0; i<pfvc; i++ )
if( pfv[ i ].depth == XWinAttribs.depth )
radius = 100;
radius = (radius / 100.0) * (iWinHeight >> 3);
+ if (radius >= 128) /* should use UCHAR_MAX? */
+ radius = 127; /* dradius should fit in u_char */
dradius = radius * 2;
sradius = radius * radius;