projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver]
/
hacks
/
metaballs.c
diff --git
a/hacks/metaballs.c
b/hacks/metaballs.c
index 9efb19e80bec89674ad7de29605a9f2fc0b5a737..d814a80c29cd4ddabd5e44d2e90cea825ef740d3 100644
(file)
--- a/
hacks/metaballs.c
+++ b/
hacks/metaballs.c
@@
-56,7
+56,7
@@
typedef struct
short xpos,ypos;
} BLOB;
short xpos,ypos;
} BLOB;
-static unsigned
char
nBlobCount;
+static unsigned
int
nBlobCount;
static unsigned char radius;
static unsigned char delta;
static unsigned char dradius;
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) */
{
/* 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 )
XPixmapFormatValues *pfv = XListPixmapFormats( pDisplay, &pfvc );
for( i=0; i<pfvc; i++ )
if( pfv[ i ].depth == XWinAttribs.depth )