Kaydet (Commit) b28b1d5a authored tarafından Dirk Völzke's avatar Dirk Völzke

#i107166# Use 32 bit for values larger than 32768

üst b1b93020
...@@ -578,9 +578,9 @@ UpdateCheckThread::run() ...@@ -578,9 +578,9 @@ UpdateCheckThread::run()
bExtensionsChecked = false; bExtensionsChecked = false;
// Increase next by 15, 60, .. minutes // 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; ++n;
tv.Seconds = nRetryInterval[n-1]; tv.Seconds = nRetryInterval[n-1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment