diff options
| author | Werner Koch <[email protected]> | 2006-11-21 11:00:14 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-11-21 11:00:14 +0000 |
| commit | e50c5f39cc2ea399eead30ef451d7d5e24c13fe6 (patch) | |
| tree | 37f73eb8abf85a3a6505a5a7c30b1e4c8e8d85d5 /g10/misc.c | |
| parent | Made some PIN pads work. (diff) | |
| download | gnupg-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.tar.gz gnupg-e50c5f39cc2ea399eead30ef451d7d5e24c13fe6.zip | |
No more warnings for AMD64 (at least when cross-compiling). Thus tehre is a
good chance that gpg2 will now work.
Other cleanups.
Updated gettext.
Diffstat (limited to 'g10/misc.c')
| -rw-r--r-- | g10/misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/misc.c b/g10/misc.c index 064f1e6be..bf32228c3 100644 --- a/g10/misc.c +++ b/g10/misc.c @@ -297,7 +297,7 @@ checksum_mpi (gcry_mpi_t a) { u16 csum; byte *buffer; - unsigned int nbytes; + size_t nbytes; if ( gcry_mpi_print (GCRYMPI_FMT_PGP, NULL, 0, &nbytes, a) ) BUG (); @@ -426,7 +426,7 @@ openpgp_pk_test_algo( int algo ) int openpgp_pk_test_algo2( int algo, unsigned int use ) { - int use_buf = use; + size_t use_buf = use; if (algo == GCRY_PK_ELG_E) algo = GCRY_PK_ELG; |
