Clean up about a bazillion compilation warnings.
This commit is contained in:
@@ -41,7 +41,9 @@ void* btAlignedAlloc (int size, int alignment)
|
||||
|
||||
void btAlignedFree (void* ptr)
|
||||
{
|
||||
delete ptr;
|
||||
delete [] (char*) ptr;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -174,4 +174,6 @@ class btAlignedObjectArray
|
||||
|
||||
};
|
||||
|
||||
#endif //BT_OBJECT_ARRAY__
|
||||
#endif //BT_OBJECT_ARRAY__
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user