summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper/ProcessHandler.java
diff options
context:
space:
mode:
authorRobert Antoni Buj i Gelonch <robert.buj@gmail.com>2014-10-16 18:58:13 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-25 12:07:22 +0000
commite61c4b5f06241dd248cfe28b29cb658ea47bd72e (patch)
tree04aeef2097ccaeb16642b209e8d3c5c48c0161eb /qadevOOo/runner/helper/ProcessHandler.java
parentf824b1b575dbdb2bc515656a66cbb94764031a44 (diff)
java: prevent overflow by using 'long int' arithmetic in multiplication
Change-Id: I8dda8f4621f265208c713c9edcfe725f1c9c5998 Reviewed-on: https://gerrit.libreoffice.org/12001 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/runner/helper/ProcessHandler.java')
-rw-r--r--qadevOOo/runner/helper/ProcessHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 2554d16e0704..fb3ff77e8f28 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -446,7 +446,7 @@ public class ProcessHandler
try
{
- Thread.sleep(1000 * counter); // 5000
+ Thread.sleep(1000L * counter); // 5000
}
catch (InterruptedException e)
{