tst_QAspectJob: fix -Wsign-compare


std::vector::size_type is unsigned, while decltype(2) is signed.

Found by Clang 15:

  qtestcase.h:585:34: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare]
        return compare_helper(t1 == t2, "Compared values are not the same",
                              ~~ ^  ~~
  tst_qaspectjob.cpp:36:9: note: in instantiation of function template specialization 'QTest::qCompare<unsigned long, int>' requested here
        QCOMPARE(job1->dependencies().size(), 2);
        ^

Make the RHS unsigned, too.

Amends b70f7af20550f55e9546ff5a2192f53d6ccb62cb.

Pick-to: 6.5 6.4 6.2
Change-Id: Ia7e612de97de86946c42c104081957fbdcc67d7f
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commit0a06c7d2f465d071b4b4430fe06a080da990143e
parent3548bb66e6bbe0f93b596b5571dda07073484b62
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeThu, 26 Jan 2023 12:33:20 +0100