--- a/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp Wed Apr 21 12:15:23 2010 +0300
+++ b/tests/auto/qbytearraymatcher/tst_qbytearraymatcher.cpp Wed Apr 21 20:15:53 2010 +0300
@@ -69,7 +69,7 @@
matcher2.setPattern(QByteArray(needle));
QByteArrayMatcher matcher3 = QByteArrayMatcher(QByteArray(needle));
- QByteArrayMatcher matcher4(needle, sizeof(needle - 1));
+ QByteArrayMatcher matcher4(needle, sizeof(needle) - 1);
QByteArrayMatcher matcher5(matcher2);
QByteArrayMatcher matcher6;
matcher6 = matcher3;