From 5a7a38c1824799bbd5030f0d7ed784895802cd1c Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 19 Nov 2013 21:12:19 +0100 Subject: [PATCH] [DEV] update at c++X11 --- src/BulletSoftBody/btSoftBodyHelpers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BulletSoftBody/btSoftBodyHelpers.cpp b/src/BulletSoftBody/btSoftBodyHelpers.cpp index 0fb3560..3f5b9f3 100644 --- a/src/BulletSoftBody/btSoftBodyHelpers.cpp +++ b/src/BulletSoftBody/btSoftBodyHelpers.cpp @@ -911,9 +911,9 @@ btSoftBody* btSoftBodyHelpers::CreateFromConvexHull(btSoftBodyWorldInfo& worldI &hres.m_OutputVertices[0],0); for(int i=0;i<(int)hres.mNumFaces;++i) { - const int idx[]={ hres.m_Indices[i*3+0], - hres.m_Indices[i*3+1], - hres.m_Indices[i*3+2]}; + const int idx[]={ (int)hres.m_Indices[i*3+0], + (int)hres.m_Indices[i*3+1], + (int)hres.m_Indices[i*3+2]}; if(idx[0]appendLink( idx[0],idx[1]); if(idx[1]appendLink( idx[1],idx[2]); if(idx[2]appendLink( idx[2],idx[0]);