fix some warnings, see Issue 400

This commit is contained in:
erwin.coumans
2010-07-20 01:09:34 +00:00
parent f5e6f87427
commit 745b3d4e05
8 changed files with 13 additions and 13 deletions

View File

@@ -446,7 +446,7 @@ char* btBulletWorldImporter::duplicateName(const char* name)
{
if (name)
{
int l = strlen(name);
int l = (int)strlen(name);
char* newName = new char[l+1];
memcpy(newName,name,l);
newName[l] = 0;