lib: correct 842 decompress for 32 bit
authorDan Streetman <ddstreet@ieee.org>
Mon, 11 May 2015 22:53:36 +0000 (18:53 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 13 May 2015 02:31:59 +0000 (10:31 +0800)
commitca7fc7e962fa067ba31f76a6e5828537394f6481
treee79e641598fdf90d30a76f9c761ab5041019f971
parent42e8b0d7fed0628e21ec93e8cd547aef616e68f7
lib: correct 842 decompress for 32 bit

Avoid 64 bit mod operation, which won't work on 32 bit systems.
Simple subtraction can be used instead in this case.

Reported-By: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
lib/842/842_decompress.c