summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r--src/corelib/kernel/qobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 7276c438448..7d703ef277d 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -640,7 +640,7 @@ QQueuedMetaCallEvent::~QQueuedMetaCallEvent()
}
}
if (d.nargs_) {
- if (reinterpret_cast<void *>(d.args_) != reinterpret_cast<void *>(prealloc_))
+ if (static_cast<void *>(d.args_) != prealloc_)
free(d.args_);
}
}