* mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.

This commit is contained in:
Werner Koch 2003-12-23 19:20:02 +00:00
parent 5ebbe781cb
commit 71c3000b91
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-12-23 Werner Koch <wk@gnupg.org>
* mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.
2003-12-02 David Shaw <dshaw@jabberwocky.com>
* config.links: Show target in asm-syntax.h file and include

View File

@ -29,15 +29,15 @@ static int
build_index( MPI *exparray, int k, int i, int t )
{
int j, bitno;
int index = 0;
int idx = 0;
bitno = t-i;
for(j=k-1; j >= 0; j-- ) {
index <<= 1;
idx <<= 1;
if( mpi_test_bit( exparray[j], bitno ) )
index |= 1;
idx |= 1;
}
return index;
return idx;
}
/****************