summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-07-30 06:27:19 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-07-30 06:27:19 +0530
commit5ce19cd92db8114b8cb08251e9195d00493aa9d2 (patch)
treeb6b67677d30dde3137460a3546534b9455bfb4ee /app/src/main/java
parent36b0a4157819b27f7efcf69372088d5a39d9814e (diff)
Ensure git commit time doesn't overflow
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/PasswordStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
index b32f2358..95eb5a9b 100644
--- a/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
+++ b/app/src/main/java/com/zeapo/pwdstore/PasswordStore.java
@@ -453,7 +453,7 @@ public class PasswordStore extends AppCompatActivity {
return -1;
}
- return iterator.next().getCommitTime() * 1000;
+ return ((long) iterator.next().getCommitTime()) * 1000;
}
public void decryptPassword(PasswordItem item) {