mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-31 11:41:32 +01:00
* mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.
This commit is contained in:
parent
5ebbe781cb
commit
71c3000b91
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/****************
|
||||
|
Loading…
x
Reference in New Issue
Block a user