diff options
Diffstat (limited to 'PhysX_3.4/Source/Common/src/CmUtils.h')
| -rw-r--r-- | PhysX_3.4/Source/Common/src/CmUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/Common/src/CmUtils.h b/PhysX_3.4/Source/Common/src/CmUtils.h index 4aa126c1..e7bccbbd 100644 --- a/PhysX_3.4/Source/Common/src/CmUtils.h +++ b/PhysX_3.4/Source/Common/src/CmUtils.h @@ -136,7 +136,7 @@ public: PX_ASSERT(&element<mData || &element>=mData+mSize); if(mSize==mCapacity) - (owner.*realloc)(mData, mCapacity, mSize, PxU16(mSize+1)); + (owner.*realloc)(mData, mCapacity, mSize, IndexType(mSize+1)); PX_ASSERT(mData && mSize<mCapacity); mData[mSize++] = element; |