Permalink
Browse files

demmt: fix decoding of IB entry size

  • Loading branch information...
1 parent bcfaf4b commit 30fc4a1a605393df8810f01e1f379708c191af03 @mslusarz mslusarz committed Jul 5, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 rnn/demmt_pushbuf.c
View
@@ -339,7 +339,7 @@ void ib_decode(struct ib_decode_state *state, uint32_t data, char *output)
{
int i;
- state->address |= data & 0xff;
+ state->address |= ((uint64_t)(data & 0xff)) << 32;
state->unk8 = (data >> 8) & 0x1;
state->not_main = (data >> 9) & 0x1;
state->size = (data & 0x7fffffff) >> 10;

0 comments on commit 30fc4a1

Please sign in to comment.