silence warning
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>
Sat, 13 Sep 2008 20:21:50 +0000 (14:21 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Sep 2008 20:21:50 +0000 (14:21 -0600)
progs/demos/rain.cxx

index 5c53d4248c583827c8eee5c6c3276953615476fa..59b6471ef8fa19792686e4615819172534762759 100644 (file)
@@ -114,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;