aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-12-23 19:20:02 +0000
committerWerner Koch <[email protected]>2003-12-23 19:20:02 +0000
commit71c3000b913a49054fdade78448bf8d44503c79c (patch)
tree772ecdcd98e62898b8019f35743fcaeb6466a885
parent* mk-w32-dist: Convert hu.po to CP852 as suggested by Nagy Ferenc (diff)
downloadgnupg-71c3000b913a49054fdade78448bf8d44503c79c.tar.gz
gnupg-71c3000b913a49054fdade78448bf8d44503c79c.zip
* mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.
-rw-r--r--mpi/ChangeLog4
-rw-r--r--mpi/mpi-mpow.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/mpi/ChangeLog b/mpi/ChangeLog
index 752749ea0..2221579bd 100644
--- a/mpi/ChangeLog
+++ b/mpi/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-23 Werner Koch <[email protected]>
+
+ * mpi-mpow.c (build_index): s/index/idx/ to avoid gcc warning.
+
2003-12-02 David Shaw <[email protected]>
* config.links: Show target in asm-syntax.h file and include
diff --git a/mpi/mpi-mpow.c b/mpi/mpi-mpow.c
index 7c46fc65c..4af8c83d8 100644
--- a/mpi/mpi-mpow.c
+++ b/mpi/mpi-mpow.c
@@ -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;
}
/****************