summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-07-16 11:55:04 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-07-21 13:21:21 (GMT)
commit1ba8d525d3c898c198821e493c7fa6c4eb4689a3 (patch)
treeee8e49e04485a75090fea29c9b1137285748f46e /src/corelib/kernel
parent650f11129b74297f502f5ddd81f52a3193ea65c0 (diff)
downloadQt-1ba8d525d3c898c198821e493c7fa6c4eb4689a3.zip
Qt-1ba8d525d3c898c198821e493c7fa6c4eb4689a3.tar.gz
Qt-1ba8d525d3c898c198821e493c7fa6c4eb4689a3.tar.bz2
Fix compilation with xlC 7: the cast is necessary to get delete[] to understand what to delete
Reviewed-By: Trust Me
Diffstat (limited to 'src/corelib/kernel')
-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 eb1bd0b..6503ab0 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -854,7 +854,7 @@ QObject::~QObject()
QObjectPrivate::Connection::~Connection()
{
if (argumentTypes != &DIRECT_CONNECTION_ONLY)
- delete [] argumentTypes;
+ delete [] static_cast<int *>(argumentTypes);
}