Browse Source

test: fix compilation warnings caused by constant strings being cast

to char *.
legacy
Sam Hocevar sam 12 years ago
parent
commit
48b0f20f00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/PhysicObject.h

+ 1
- 1
test/PhysicObject.h View File

@@ -37,7 +37,7 @@ public:
PhysicsObject(Simulation* new_sim, float base_mass, const vec3 &base_location, int RandValue = -1)
: m_ready(false), m_should_render(true)
{
Array<char *> MeshRand;
Array<char const *> MeshRand;

MeshRand << "[sc#add afcb2 2 2 -.1]";
MeshRand << "[sc#dad afcb2 2 2 -.1]";


Loading…
Cancel
Save