summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorDirk Völzke <dv@openoffice.org>2009-11-27 06:45:02 +0000
committerDirk Völzke <dv@openoffice.org>2009-11-27 06:45:02 +0000
commitb28b1d5a44b39e150c98d58b23f12e5f203b95ec (patch)
treefdc803e2f92183dcdce45e11c85824c269044c85 /extensions
parentb1b93020d02fb4217cc8742c47fb9865e199254c (diff)
#i107166# Use 32 bit for values larger than 32768
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/update/check/updatecheck.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 349c4438cb99..24ac5fc77ded 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];