Просмотр исходного кода

test: fix compilation warnings caused by constant strings being cast

to char *.
legacy
Sam Hocevar sam 13 лет назад
Родитель
Сommit
48b0f20f00
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      test/PhysicObject.h

+ 1
- 1
test/PhysicObject.h Просмотреть файл

@@ -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]";


Загрузка…
Отмена
Сохранить