summaryrefslogtreecommitdiffstats
path: root/src/activeqt/shared
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-03 14:49:46 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-04 08:06:21 (GMT)
commitd3c96863ec17a69c616bdcb12e6a99a874eba66d (patch)
treea3e0c512fbc7ba23679193c6271c3cd531971222 /src/activeqt/shared
parent14f9cbbec204ba146205d12cb06577d41b5f974c (diff)
downloadQt-d3c96863ec17a69c616bdcb12e6a99a874eba66d.zip
Qt-d3c96863ec17a69c616bdcb12e6a99a874eba66d.tar.gz
Qt-d3c96863ec17a69c616bdcb12e6a99a874eba66d.tar.bz2
fix warnings on mingw (gcc4.4)
basically reordering members initialization in constructors or fixing singed/unsigned checks. Reviewed-by: Trustme
Diffstat (limited to 'src/activeqt/shared')
-rw-r--r--src/activeqt/shared/qaxtypes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/shared/qaxtypes.cpp b/src/activeqt/shared/qaxtypes.cpp
index 49aa99c..63891c4 100644
--- a/src/activeqt/shared/qaxtypes.cpp
+++ b/src/activeqt/shared/qaxtypes.cpp
@@ -552,7 +552,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type
int maxColumns = col.count();
if (maxColumns) {
is2D = true;
- SAFEARRAYBOUND rgsabound[2] = {0};
+ SAFEARRAYBOUND rgsabound[2] = { {0} };
rgsabound[0].cElements = count;
rgsabound[1].cElements = maxColumns;
array = SafeArrayCreate(VT_VARIANT, 2, rgsabound);