Fix creepy type error.

This commit is contained in:
Alcaro 2016-01-18 23:24:22 +01:00
parent b9b1f16d0f
commit 2ffe03f732

View File

@ -216,7 +216,7 @@ static uint32_t read_le(const uint8_t *data, unsigned size)
size *= 8;
for (i = 0; i < size; i += 8)
val |= *data++ << i;
val |= (uint32_t)*data++ << i;
return val;
}