summaryrefslogtreecommitdiff
path: root/progs/demos/rain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'progs/demos/rain.cxx')
-rw-r--r--progs/demos/rain.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/demos/rain.cxx b/progs/demos/rain.cxx
index d19f049c5f..59b6471ef8 100644
--- a/progs/demos/rain.cxx
+++ b/progs/demos/rain.cxx
@@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <math.h>
#include <time.h>
#include <GL/glut.h>
@@ -113,7 +114,7 @@ static void calcposobs(void)
rainParticle::setRainingArea(obs[0]-7.0f,-0.2f,obs[2]-7.0f,obs[0]+7.0f,8.0f,obs[2]+7.0f);
}
-static void printstring(void *font, char *string)
+static void printstring(void *font, const char *string)
{
int len,i;