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
/
glx
/
glknots.c
diff --git
a/hacks/glx/glknots.c
b/hacks/glx/glknots.c
index ab514646646c18378f8c045dd0557fb903a3306f..4ce911eed2d149e1456ed77b65fd13a660a51315 100644
(file)
--- a/
hacks/glx/glknots.c
+++ b/
hacks/glx/glknots.c
@@
-80,7
+80,7
@@
static char *do_spin;
static GLfloat speed;
static Bool do_wander;
static GLfloat thickness;
static GLfloat speed;
static Bool do_wander;
static GLfloat thickness;
-static int segments;
+static
unsigned
int segments;
static int duration;
static XrmOptionDescRec opts[] = {
static int duration;
static XrmOptionDescRec opts[] = {
@@
-114,7
+114,7
@@
make_knot (ModeInfo *mi)
GLfloat diam = (4 * thickness);
int faces = (wire ? 3 : 6);
GLfloat diam = (4 * thickness);
int faces = (wire ? 3 : 6);
- int i;
+
unsigned
int i;
double x, y, z, ox=0, oy=0, oz=0;
double mu;
double x, y, z, ox=0, oy=0, oz=0;
double mu;