diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-03 14:49:46 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-08-04 08:06:21 (GMT) |
commit | d3c96863ec17a69c616bdcb12e6a99a874eba66d (patch) | |
tree | a3e0c512fbc7ba23679193c6271c3cd531971222 /src/activeqt/shared/qaxtypes.cpp | |
parent | 14f9cbbec204ba146205d12cb06577d41b5f974c (diff) | |
download | Qt-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/qaxtypes.cpp')
-rw-r--r-- | src/activeqt/shared/qaxtypes.cpp | 2 |
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); |