summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-11-03 22:16:49 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-11-03 22:16:49 (GMT)
commit70a568a7c24772a12a14370b8bde5a3620a2bcfd (patch)
treeccfe2088a6839ca69ea1f8e13a92c00a5b6a687b /src/corelib
parentfc45c07c27100591750ad5c360fde535e15b9dbd (diff)
downloadQt-70a568a7c24772a12a14370b8bde5a3620a2bcfd.zip
Qt-70a568a7c24772a12a14370b8bde5a3620a2bcfd.tar.gz
Qt-70a568a7c24772a12a14370b8bde5a3620a2bcfd.tar.bz2
Fix compile error for Symbian WINSCW emulator
Reviewed-by: Iain
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qvector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qvector.h b/src/corelib/tools/qvector.h
index 7402d77..930b006 100644
--- a/src/corelib/tools/qvector.h
+++ b/src/corelib/tools/qvector.h
@@ -92,7 +92,7 @@ struct QVectorTypedData : private QVectorData
// as this would break strict aliasing rules. (in the case of shared_null)
T array[1];
- static inline void free(QVectorTypedData *x, int alignment) { QVectorData::free(x, alignment); }
+ static inline void free(QVectorTypedData<T> *x, int alignment) { QVectorData::free(static_cast<QVectorData *>(x), alignment); }
};
class QRegion;