{"comment":{"url":"https://api.github.com/repos/antirez/redis/comments/16437244","html_url":"https://github.com/antirez/redis/commit/70af626d613ebd88123f87a941b0dd3570f9e7d2#commitcomment-16437244","id":16437244,"user":{"login":"thepirat000","id":9836380,"avatar_url":"https://avatars.githubusercontent.com/u/9836380?v=3","gravatar_id":"","url":"https://api.github.com/users/thepirat000","html_url":"https://github.com/thepirat000","followers_url":"https://api.github.com/users/thepirat000/followers","following_url":"https://api.github.com/users/thepirat000/following{/other_user}","gists_url":"https://api.github.com/users/thepirat000/gists{/gist_id}","starred_url":"https://api.github.com/users/thepirat000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepirat000/subscriptions","organizations_url":"https://api.github.com/users/thepirat000/orgs","repos_url":"https://api.github.com/users/thepirat000/repos","events_url":"https://api.github.com/users/thepirat000/events{/privacy}","received_events_url":"https://api.github.com/users/thepirat000/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"70af626d613ebd88123f87a941b0dd3570f9e7d2","created_at":"2016-03-02T05:56:14Z","updated_at":"2016-03-02T05:56:14Z","body":"I'm having a problem using the BITFIELD command with \"ordinal\" offset.\r\n\r\nFor example I set the second field (#1) of type u5 to the number 5\r\n\r\n```\r\n> BITFIELD k SET u5 #1 5\r\n1) (integer) 0\r\n\r\n```\r\nBut if I do the get of that position I get a different number:\r\n\r\n```\r\n> BITFIELD k GET u5 #1\r\n1) (integer) 4\r\n```\r\n\r\nIf I set the value to a different value, I correctly get the previous 5 value:\r\n```\r\n> BITFIELD k SET u5 #1 6\r\n1) (integer) 5\r\n```\r\n\r\n"}}