Skip to content

Commit

Permalink
Cast to short
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Larsen <clarsen@yahoo-inc.com>
  • Loading branch information
manolama committed Jan 26, 2016
1 parent 6633024 commit b181a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CompactionQueue.java
Expand Up @@ -796,7 +796,7 @@ private static final class Cmp implements Comparator<byte[]> {
private final short timestamp_pos;

public Cmp(final TSDB tsdb) {
timestamp_pos = Const.SALT_WIDTH() + tsdb.metrics.width();
timestamp_pos = (short) (Const.SALT_WIDTH() + tsdb.metrics.width());
}

@Override
Expand Down

0 comments on commit b181a53

Please sign in to comment.