summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/demo/opengl/fbm.c2
-rw-r--r--examples/desktop/desktop.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/demo/opengl/fbm.c b/examples/demo/opengl/fbm.c
index 47d5a61..dff1ccb 100644
--- a/examples/demo/opengl/fbm.c
+++ b/examples/demo/opengl/fbm.c
@@ -106,7 +106,7 @@ float noise3(float vec[3])
{
int bx0, bx1, by0, by1, bz0, bz1, b00, b10, b01, b11;
float rx0, rx1, ry0, ry1, rz0, rz1, *q, sy, sz, a, b, c, d, t, u, v;
- register int i, j;
+ int i, j;
if (start) {
start = 0;
diff --git a/examples/desktop/desktop.cpp b/examples/desktop/desktop.cpp
index 2b6fb30..ea4111c 100644
--- a/examples/desktop/desktop.cpp
+++ b/examples/desktop/desktop.cpp
@@ -53,7 +53,7 @@ void poly()
int head = 0;
int tail = -maxcurves + 2;
QPointArray *a = new QPointArray[ maxcurves ];
- register QPointArray *p;
+ QPointArray *p;
QRect r = d->rect(); // desktop rectangle
int i;