Skip to content

Commit

Permalink
Fix 'for' loop initial declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Jun 10, 2015
1 parent 67a2f32 commit 1d7318e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firmware/src/common/zepto-big-num.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ void zepto_bignum_m_restore_num( const uint8_t* mod, uint8_t sel_bt, uint8_t* nu
FORCE_INLINE
void zepto_bignum_m_exponentiate_m2m( const uint8_t* mod, uint8_t inverter, uint8_t* x, const uint8_t* exp, uint8_t* res )
{
for ( int16_t i=0; i<M_BYTE_SIZE*8; i++ )
uint16_t i;

for ( i=0; i<M_BYTE_SIZE*8; i++ )
{
if ( exp[i>>3] & (1 << (i&7)) )
{
Expand Down

0 comments on commit 1d7318e

Please sign in to comment.