mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 11:08:06 +02:00
fix warning on windows about signed conversion of unsigned int
This commit is contained in:
parent
32400a6baf
commit
027a9d34d4
1 changed files with 2 additions and 2 deletions
|
@ -855,8 +855,8 @@ void PhysicsEngine::addContactAddedCallback(PhysicsEngine::ContactAddedCallback
|
|||
}
|
||||
|
||||
void PhysicsEngine::removeContactAddedCallback(PhysicsEngine::ContactAddedCallback cb) {
|
||||
uint32_t numCallbacks = _contactAddedCallbacks.size();
|
||||
for (uint32_t i = 0; i < numCallbacks; ++i) {
|
||||
int32_t numCallbacks = _contactAddedCallbacks.size();
|
||||
for (int32_t i = 0; i < numCallbacks; ++i) {
|
||||
if (_contactAddedCallbacks[i] == cb) {
|
||||
// found it --> remove it
|
||||
_contactAddedCallbacks[i] = _contactAddedCallbacks[numCallbacks - 1];
|
||||
|
|
Loading…
Reference in a new issue