From b243d107e90f4e775257cf64aea28a465b8ee73f Mon Sep 17 00:00:00 2001 From: Jonathan Leibiusky Date: Thu, 20 Jan 2011 15:08:24 -0300 Subject: [PATCH] setbit and getbit receive long offset in BinaryJedis --- src/main/java/redis/clients/jedis/BinaryJedis.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/redis/clients/jedis/BinaryJedis.java b/src/main/java/redis/clients/jedis/BinaryJedis.java index 1c96a34..bff0f4f 100644 --- a/src/main/java/redis/clients/jedis/BinaryJedis.java +++ b/src/main/java/redis/clients/jedis/BinaryJedis.java @@ -2909,7 +2909,7 @@ public class BinaryJedis implements BinaryJedisCommands { * @param value * @return */ - public Long setbit(byte[] key, int offset, byte[] value) { + public Long setbit(byte[] key, long offset, byte[] value) { client.setbit(key, offset, value); return client.getIntegerReply(); } @@ -2921,7 +2921,7 @@ public class BinaryJedis implements BinaryJedisCommands { * @param offset * @return */ - public Long getbit(byte[] key, int offset) { + public Long getbit(byte[] key, long offset) { client.getbit(key, offset); return client.getIntegerReply(); }