diff options
author | David Shaw <[email protected]> | 2003-04-22 04:23:31 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-04-22 04:23:31 +0000 |
commit | 0727326e4e2dddaff0ff2d83488bb414a2b1cc78 (patch) | |
tree | 5ffb9102714395f653d46124a23f31d65b15a6db | |
parent | * keyedit.c (sign_uids): Allow replacing expired signatures. Allow (diff) | |
download | gnupg-0727326e4e2dddaff0ff2d83488bb414a2b1cc78.tar.gz gnupg-0727326e4e2dddaff0ff2d83488bb414a2b1cc78.zip |
* plaintext.c (ask_for_detached_datafile, hash_datafiles): Fix compiler
warnings.
-rw-r--r-- | g10/ChangeLog | 3 | ||||
-rw-r--r-- | g10/plaintext.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog index 2221b6341..9c218a51d 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -7,7 +7,8 @@ fingerprint when checking a signature with --always-trust enabled. * filter.h (progress_filter_context_t), progress.c - (handle_progress): Fix compiler warnings. Make "what" constant. + (handle_progress), plaintext.c (ask_for_detached_datafile, + hash_datafiles): Fix compiler warnings. Make "what" constant. * build-packet.c (do_plaintext): Do not create invalid literal packets with >255-byte names. diff --git a/g10/plaintext.c b/g10/plaintext.c index b6a813c37..2567a7613 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -371,7 +371,7 @@ ask_for_detached_datafile( MD_HANDLE md, MD_HANDLE md2, do_hash( md, md2, fp, textmode ); iobuf_close(fp); if (dealloc_pfx_name) - m_free (pfx.what); + m_free ((void *)pfx.what); leave: m_free(answer); @@ -398,7 +398,7 @@ hash_datafiles( MD_HANDLE md, MD_HANDLE md2, STRLIST files, if( fp ) { do_hash( md, md2, fp, textmode ); iobuf_close(fp); - m_free (pfx.what); + m_free ((void *)pfx.what); return 0; } log_error (_("no signed data\n")); |