http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver] / hacks / glx / glknots.c
index 81488ac8575822f727bdb1802ef10765b079de6c..4ce911eed2d149e1456ed77b65fd13a660a51315 100644 (file)
@@ -80,7 +80,7 @@ static char *do_spin;
 static GLfloat speed;
 static Bool do_wander;
 static GLfloat thickness;
-static int segments;
+static unsigned int segments;
 static int duration;
 
 static XrmOptionDescRec opts[] = {
@@ -114,8 +114,8 @@ make_knot (ModeInfo *mi)
   GLfloat diam = (4 * thickness);
   int faces = (wire ? 3 : 6);
 
-  int i;
-  double x, y, z, ox, oy, oz;
+  unsigned int i;
+  double x, y, z, ox=0, oy=0, oz=0;
   double mu;
 
   double p[9];