Skip to content

Commit

Permalink
Fix the crash observed in previous ports
Browse files Browse the repository at this point in the history
  • Loading branch information
huitema committed Jul 11, 2019
1 parent 5c276c5 commit 1cbc296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/micro-ecc/uECC.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ uECC_VLI_API bitcount_t uECC_vli_numBits(const uECC_word_t *vli, const wordcount
digit >>= 1;
}

return (uint8_t)(((bitcount_t)(num_digits - 1) << uECC_WORD_BITS_SHIFT) + i);
return (((bitcount_t)(num_digits - 1) << uECC_WORD_BITS_SHIFT) + i);
}

/* Sets dest = src. */
Expand Down

0 comments on commit 1cbc296

Please sign in to comment.