Skip to content

Commit

Permalink
fixed compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
petrs committed Oct 26, 2017
1 parent 626d526 commit 33c9d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JCMathLib/src/opencrypto/jcmathlib/ObjectLocker.java
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private void lock(Object objToLock, short lockIndex) {
}
if (PROFILE_LOCKED_OBJECTS) {
// If enabled, check status of all other objects and mark these that are currently locked
short profileLockOffset = (short) (lockIndex * (short) ((short) lockedObjects.length) / 2); // Obtain section of profileLockedObjects array relevant for current object
short profileLockOffset = (short) (lockIndex * (short) ((short) lockedObjects.length / 2)); // Obtain section of profileLockedObjects array relevant for current object

for (short i = 0; i < (short) lockedObjects.length; i += 2) {
if (lockedObjects[(short) (i + 1)] != null) {
Expand Down

0 comments on commit 33c9d79

Please sign in to comment.