X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fmetaballs.c;h=d814a80c29cd4ddabd5e44d2e90cea825ef740d3;hb=96a411663168b0ba5432b407a83be55f3df0c802;hp=9efb19e80bec89674ad7de29605a9f2fc0b5a737;hpb=6cee540bdbb571485cd5e519f89f389faebd0495;p=xscreensaver diff --git a/hacks/metaballs.c b/hacks/metaballs.c index 9efb19e8..d814a80c 100644 --- a/hacks/metaballs.c +++ b/hacks/metaballs.c @@ -56,7 +56,7 @@ typedef struct short xpos,ypos; } BLOB; -static unsigned char nBlobCount; +static unsigned int nBlobCount; static unsigned char radius; static unsigned char delta; static unsigned char dradius; @@ -225,7 +225,7 @@ static void Initialize( Display *pDisplay, Window Win, GC *pGC, XImage **ppImage /* Find the preferred bits-per-pixel. (jwz) */ { - int i, pfvc = 0; + int pfvc = 0; XPixmapFormatValues *pfv = XListPixmapFormats( pDisplay, &pfvc ); for( i=0; i