aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nand_ecc_kw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nand_ecc_kw.c')
-rw-r--r--src/flash/nand_ecc_kw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand_ecc_kw.c b/src/flash/nand_ecc_kw.c
index de73326..54b1ee1 100644
--- a/src/flash/nand_ecc_kw.c
+++ b/src/flash/nand_ecc_kw.c
@@ -137,7 +137,7 @@ int nand_calculate_ecc_kw(struct nand_device_s *device, const uint8_t *data, uin
d = data[i];
if (r7) {
- u16 *t = gf_exp + gf_log[r7];
+ uint16_t *t = gf_exp + gf_log[r7];
r7 = r6 ^ t[0x21c];
r6 = r5 ^ t[0x181];