diff options
Diffstat (limited to 'binaryurp/qa/test-cache.cxx')
-rw-r--r-- | binaryurp/qa/test-cache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/qa/test-cache.cxx b/binaryurp/qa/test-cache.cxx index f14b3837629e..989b103e2e90 100644 --- a/binaryurp/qa/test-cache.cxx +++ b/binaryurp/qa/test-cache.cxx @@ -39,7 +39,7 @@ private: // cf. jurt/test/com/sun/star/lib/uno/protocols/urp/Cache_Test.java: void Test::testNothingLostFromLruList() { int a[8]; - for (int i = 0; i != sizeof a / sizeof a[0]; ++i) { + for (int i = 0; i != int(SAL_N_ELEMENTS(a)); ++i) { for (int j = 0; j != i; ++j) { a[j] = 0; } |