瀏覽代碼

test: fix compilation warnings caused by constant strings being cast

to char *.
legacy
Sam Hocevar sam 13 年之前
父節點
當前提交
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]";


Loading…
取消
儲存