diff options
author | Dirk Völzke <dv@openoffice.org> | 2009-11-27 06:45:02 +0000 |
---|---|---|
committer | Dirk Völzke <dv@openoffice.org> | 2009-11-27 06:45:02 +0000 |
commit | b1f7302ec8f8916ca83a525a67140cbdaf989d7b (patch) | |
tree | fac1445335753cc8aa2f29c9657b43d408142dac | |
parent | f488c387eeff8aad588f8981c6d58ee269c01a27 (diff) |
#i107166# Use 32 bit for values larger than 32768
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 58f2d17b4..39a4f063e 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -578,9 +578,9 @@ UpdateCheckThread::run() bExtensionsChecked = false; // Increase next by 15, 60, .. minutes - static const sal_Int16 nRetryInterval[] = { 900, 3600, 14400, 86400 }; + static const sal_Int32 nRetryInterval[] = { 900, 3600, 14400, 86400 }; - if( n < sizeof(nRetryInterval) / sizeof(sal_Int16) ) + if( n < sizeof(nRetryInterval) / sizeof(sal_Int32) ) ++n; tv.Seconds = nRetryInterval[n-1]; |