From 6c13203965b0dc74cd9b08ceab5b547cda2b512c Mon Sep 17 00:00:00 2001 From: Ken MacKay Date: Tue, 1 Oct 2013 10:45:08 -0700 Subject: [PATCH] Prevent any potential issues due to sign extension (which could occur on platforms where int is 16 bits). --- ecc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecc.c b/ecc.c index 0410ce0..22f0c18 100644 --- a/ecc.c +++ b/ecc.c @@ -1508,7 +1508,7 @@ void ecc_bytes2native(uint32_t p_native[NUM_ECC_DIGITS], uint8_t p_bytes[NUM_ECC for(i=0; i